Skip to content

Commit

Permalink
feat(push-deploy): add file
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-sumner committed Apr 20, 2024
1 parent 8860b59 commit 69fb3b1
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 69fb3b1

Please sign in to comment.