Skip to content

Commit

Permalink
⚡️Add: auto deploy to org github action (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunshon authored Jul 12, 2023
1 parent cb4b569 commit de93356
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to WordPress.org
on:
push:
tags:
- "*"
jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
coverage: none
tools: cs2pr, composer:v2
- name: Build
run: |
composer install --no-dev
composer dump-autoload -o
yarn install
yarn build
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: dokan-vendor-dashboard

0 comments on commit de93356

Please sign in to comment.