We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fa32d7 commit 849d36fCopy full SHA for 849d36f
.github/workflows/deploy.yml
@@ -15,7 +15,7 @@ permissions:
15
jobs:
16
# from https://github.com/peter-evans/create-pull-request/blob/main/docs/examples.md#keep-a-branch-up-to-date-with-another
17
deploy-staging:
18
- if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/')
+ if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'))
19
runs-on: ubuntu-latest
20
steps:
21
- uses: actions/checkout@v4
0 commit comments