Update GitHub action to install SVN before deploy to WordPress.org #16
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: [released] | ||
# Allow manual triggering of the workflow. | ||
workflow_dispatch: | ||
jobs: | ||
release: | ||
name: New release to WordPress.org | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install SVN (Subversion) | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install subversion | ||
- name: Push to WordPress.org | ||
uses: 10up/action-wordpress-plugin-deploy@stable | ||
env: | ||
SLUG: co-authors-plus | ||
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | ||
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} |