Skip to content

Commit 849d36f

Browse files
committed
ci: staging deploy PR works on dispatch, push to main
1 parent 3fa32d7 commit 849d36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
jobs:
1616
# from https://github.com/peter-evans/create-pull-request/blob/main/docs/examples.md#keep-a-branch-up-to-date-with-another
1717
deploy-staging:
18-
if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/')
18+
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'))
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)