v3.8.2 #41
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@v4 | |
- name: Disable xDebug - fixes PHP Fatal Error for `i18n make-pot` | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
coverage: none | |
- name: Setup Node.js and install dependencies | |
uses: ./.github/setup-node | |
- name: Run Production Task | |
run: npm run build:prod | |
- 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-zip/lazy-blocks/ | |
SLUG: lazy-blocks |