There was an error while loading. Please reload this page.
1 parent 65ea918 commit d29f3c6Copy full SHA for d29f3c6
1 file changed
.github/workflows/cd.yml
@@ -7,10 +7,16 @@ on:
7
description: 'CI workflow run ID to download artifacts from'
8
required: true
9
type: string
10
+ skip_nonprod:
11
+ description: 'Skip deployment to non-prod'
12
+ required: false
13
+ type: boolean
14
+ default: false
15
16
jobs:
17
publish-non-prod:
18
runs-on: ubuntu-latest
19
+ if: ${{ !inputs.skip_nonprod }}
20
21
steps:
22
- name: Install tfx-cli
@@ -36,6 +42,7 @@ jobs:
36
42
37
43
needs: publish-non-prod
38
44
environment: production
45
+ if: ${{ always() && (needs.publish-non-prod.result == 'success' || needs.publish-non-prod.result == 'skipped') }}
39
46
40
47
41
48
0 commit comments