Skip to content

Instantly share code, notes, and snippets.

@AbmSourav
Last active October 5, 2021 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbmSourav/53a22ff5c20127df44107b0af1d289a6 to your computer and use it in GitHub Desktop.
Save AbmSourav/53a22ff5c20127df44107b0af1d289a6 to your computer and use it in GitHub Desktop.
GitHub action for WordPress plugin deployment
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