File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ jobs:
416416 # -----------------------------------------------------------------
417417 staging :
418418 name : Deploy to Staging
419- if : ${{ !failure() && !cancelled() && (github.event.inputs.deploy == 'Staging Only' || github.event.inputs.deploy == 'Staging + Prod') }}
419+ if : ${{ !failure() && !cancelled() && (github.event.inputs.deploy == 'Staging Only' || github.event.inputs.deploy == 'Staging + Prod' || github.ref_name == 'release' ) }}
420420 needs : [prepare, release]
421421 runs-on : ubuntu-latest
422422 environment :
@@ -441,7 +441,7 @@ jobs:
441441 # -----------------------------------------------------------------
442442 prod :
443443 name : Deploy to Production
444- if : ${{ !failure() && !cancelled() && github.event.inputs.deploy == 'Staging + Prod' }}
444+ if : ${{ !failure() && !cancelled() && ( github.event.inputs.deploy == 'Staging + Prod' || github.ref_name == 'release') }}
445445 needs : [staging]
446446 runs-on : ubuntu-latest
447447 environment :
You can’t perform that action at this time.
0 commit comments