We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b9881e commit 7b0a5e4Copy full SHA for 7b0a5e4
2 files changed
.github/workflows/deploy_preview.yml
@@ -10,7 +10,7 @@ on:
10
11
jobs:
12
build-and-deploy:
13
- if: github.ref == 'refs/heads/main'
+ if: github.ref_name == 'main' || github.event_name == 'workflow_dispatch'
14
runs-on: ubuntu-latest
15
permissions:
16
contents: read
.github/workflows/deploy_prod.yml
- if: github.ref == 'refs/heads/prod'
+ if: github.ref_name == 'prod' || github.event_name == 'workflow_dispatch'
0 commit comments