File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
required : false
12
12
default : false
13
13
debug_deployment :
14
- type : string
14
+ type : boolean
15
15
description : ' Run the pipeline with debug deployment enabled'
16
16
required : false
17
- default : ' false'
17
+ default : false
18
18
full_pipeline :
19
19
type : boolean
20
20
description : ' Run the full pipeline to production'
@@ -246,7 +246,7 @@ jobs:
246
246
outputs :
247
247
image_tag : ${{ github.run_number }} # output the image tag to be used in the build-and-publish-docker-image job
248
248
needs : [build, test] # depend on the build job to get the published app artifact
249
- if : ${{ github.event.inputs.full_pipeline && (github.event_name == 'workflow_dispatch ' || github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.base_ref == 'main' && github.head_ref == 'develop')) }}
249
+ if : ${{ github.event.inputs.full_pipeline && (github.event_name == 'push ' || ( github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request_target' && github.base_ref == 'main' && github.head_ref == 'develop')) }}
250
250
permissions :
251
251
packages : write
252
252
id-token : write
You can’t perform that action at this time.
0 commit comments