v1.12.1 #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to WordPress.org | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Disable xDebug - fixes PHP Fatal Error for `i18n make-pot` | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
coverage: none | |
- name: Install NPM and Composer Dependencies | |
run: npm install | |
- name: Run Production Task | |
run: npm run production | |
- name: WordPress Plugin Deploy | |
uses: nk-o/action-wordpress-plugin-deploy@master | |
env: | |
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | |
SOURCE_DIR: dist/advanced-backgrounds/ | |
SLUG: advanced-backgrounds |