Skip to content

Commit 8048a6b

Browse files
committed
Prep for deployment
1 parent b3f0423 commit 8048a6b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name: Deploy to WordPress.org
22
on:
3-
workflow_dispatch:
43
push:
54
tags:
65
- "*"
76
env:
87
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
98
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
10-
SLUG: getdave-responsive-navigation-block # optional, remove if GitHub repo name matches SVN slug, including capitalization
9+
SLUG: getdave-responsive-navigation-block
1110
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12-
VERSION: "deploy-test" # remove after debug complete
11+
#VERSION: "deploy-test" # debugging only
1312
jobs:
1413
tag:
1514
name: New tag
@@ -24,9 +23,9 @@ jobs:
2423
uses: 10up/action-wordpress-plugin-deploy@stable
2524
with:
2625
generate-zip: true
27-
dry-run: true # set to false to deploy
26+
dry-run: false # set to false to deploy
2827
- name: Create GitHub release
2928
uses: softprops/action-gh-release@v1
3029
with:
3130
files: ${{github.workspace}}/${{ env.SLUG }}.zip
32-
tag_name: ${{ env.VERSION }}
31+
#tag_name: ${{ env.VERSION }} # debugging only

0 commit comments

Comments
 (0)