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 97f0c37 commit 7c440a8Copy full SHA for 7c440a8
.github/workflows/cicd.yml
@@ -11,6 +11,11 @@ on:
11
description: "Environment to run deploy"
12
type: environment
13
required: true
14
+ force:
15
+ description: "Deploy even if tests fail"
16
+ type: boolean
17
+ required: false
18
+ default: false
19
20
jobs:
21
test:
@@ -42,8 +47,8 @@ jobs:
42
47
secrets: inherit
43
48
44
49
manual-deployment:
45
- # needs: test # NOTE: We elect to skip tests on manual deployments
46
- if: github.event_name == 'workflow_dispatch'
50
+ needs: test
51
+ if: github.event_name == 'workflow_dispatch' && (success() || inputs.force == true)
52
concurrency: ${{ inputs.environment }}
53
uses: "./.github/workflows/deploy.yml"
54
with:
0 commit comments