Skip to content

Commit c507b46

Browse files
committed
Dry run to test automate process
1 parent 6340d8d commit c507b46

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Deploy and Release Plugin to WP.org
22

33
on:
44
push:
5-
tags:
6-
- "*"
5+
branches:
6+
- chore/automate-release-process # change to your default branch if needed
77
jobs:
88
releaseToWPOrg:
99
name: Release to WordPress.org
@@ -15,6 +15,8 @@ jobs:
1515
run: |
1616
sudo apt-get update
1717
sudo apt-get install subversion
18+
- name: 🔒 Dry run enabled — skipping deploy to WordPress.org
19+
run: echo "Dry run mode: not deploying to WordPress.org"
1820
- name: WordPress Plugin Deploy
1921
id: deploy
2022
uses: 10up/action-wordpress-plugin-deploy@stable
@@ -25,6 +27,7 @@ jobs:
2527
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
2628
SLUG: dokan-invoice
2729
- name: Create GitHub release
30+
if: false # Change to `true` to enable real GitHub release
2831
uses: softprops/action-gh-release@v2
2932
with:
3033
files: ${{steps.deploy.outputs.zip-path}}

0 commit comments

Comments
 (0)