Skip to content

Commit

Permalink
Merge pull request #5 from scoredetect/feature/svn-plugin-release-171…
Browse files Browse the repository at this point in the history
…3642061

Add GitHub Workflow: Push Releases to SVN Repository
  • Loading branch information
michael-sumner authored Apr 20, 2024
2 parents 8860b59 + 69fb3b1 commit 3ae686c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/push-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish New Release

env:
SLUG: "timestamps"

on:
release:
types: [published]

jobs:
tag:
name: New release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: WordPress Plugin Deploy
if: "! github.event.release.prerelease"
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: ${{ env.SLUG }}

0 comments on commit 3ae686c

Please sign in to comment.