Skip to content

Instantly share code, notes, and snippets.

@Daniel217D
Created February 28, 2024 11:46
Show Gist options
  • Save Daniel217D/346dc0e9e14e5299ab03885ae2b2d74f to your computer and use it in GitHub Desktop.
Save Daniel217D/346dc0e9e14e5299ab03885ae2b2d74f to your computer and use it in GitHub Desktop.
Github action for deploying plugin to WordPress repository
name: Deploy to WordPress.org
on:
push:
tags:
- "*"
jobs:
tag:
name: New release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment