Skip to content

Commit

Permalink
Prep for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Oct 4, 2024
1 parent b3f0423 commit 8048a6b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Deploy to WordPress.org
on:
workflow_dispatch:
push:
tags:
- "*"
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: getdave-responsive-navigation-block # optional, remove if GitHub repo name matches SVN slug, including capitalization
SLUG: getdave-responsive-navigation-block
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: "deploy-test" # remove after debug complete
#VERSION: "deploy-test" # debugging only
jobs:
tag:
name: New tag
Expand All @@ -24,9 +23,9 @@ jobs:
uses: 10up/action-wordpress-plugin-deploy@stable
with:
generate-zip: true
dry-run: true # set to false to deploy
dry-run: false # set to false to deploy
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: ${{github.workspace}}/${{ env.SLUG }}.zip
tag_name: ${{ env.VERSION }}
#tag_name: ${{ env.VERSION }} # debugging only

0 comments on commit 8048a6b

Please sign in to comment.