Last active
October 5, 2021 07:19
-
-
Save AbmSourav/53a22ff5c20127df44107b0af1d289a6 to your computer and use it in GitHub Desktop.
GitHub action for WordPress plugin deployment
This file contains hidden or 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: | |
push: | |
tags: | |
- "*" | |
jobs: | |
tag: | |
name: New tag | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: WordPress Plugin Deploy | |
uses: 10up/action-wordpress-plugin-deploy@stable | |
env: | |
SVN_PASSWORD: ${{ secrets.WP_SVN_PASS }} | |
SVN_USERNAME: ${{ secrets.WP_SVN_USER }} | |
SLUG: pluginSlug # optional, remove if GitHub repo name matches SVN slug, including capitalization |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment