1.5.0 - March 29th, 2024 #4
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: | |
release: | |
types: [published] | |
jobs: | |
tag: | |
name: New tag | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check the version number from package.json | |
shell: bash | |
run: echo "PLUGIN_VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: WordPress Plugin Deploy | |
uses: 10up/action-wordpress-plugin-deploy@develop | |
env: | |
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | |
VERSION: ${{ env.PLUGIN_VERSION }} |