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.
2 parents e09d6d4 + 545fad8 commit fdb5f96Copy full SHA for fdb5f96
.github/workflows/deployment.yml
@@ -3,8 +3,6 @@ name: Hosted PR and Dev/Prod Deployment
3
on:
4
pull_request:
5
types: [opened, reopened, synchronize]
6
- branches:
7
- - hosted/*
8
push:
9
branches:
10
- dev
@@ -22,7 +20,7 @@ on:
22
20
jobs:
23
21
deploy:
24
if: |
25
- (github.event_name == 'pull_request' && startsWith(github.base_ref, 'hosted/')) ||
+ (github.event_name == 'pull_request' && startsWith(github.head_ref, 'hosted/')) ||
26
(github.event_name == 'push' && github.ref == 'refs/heads/dev') ||
27
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
28
(github.event_name == 'workflow_dispatch' && inputs.environment == 'prod')
0 commit comments