Skip to content

Commit c92b489

Browse files
committed
chore: update deployment workflow to include force deploy mode check
- Modified the condition for the 'get-deploy-inputs' job to allow deployment when 'force_deploy_mode' is true, in addition to validating PR status. - This change enhances the flexibility of the deployment process by enabling forced deployments under specific conditions.
1 parent cf73be5 commit c92b489

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy-beta.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ jobs:
158158
get-deploy-inputs:
159159
name: Get Deploy Inputs
160160
needs: [find-pr, validate-pr]
161-
if: ${{ always() && needs.find-pr.result == 'success' && (needs.validate-pr.result == 'success' || needs.validate-pr.result == 'skipped') }}
161+
if: |
162+
always() &&
163+
needs.find-pr.result == 'success' &&
164+
(needs.find-pr.outputs.force_deploy_mode == 'true' || needs.validate-pr.result == 'success')
162165
runs-on: [self-hosted, Linux, X64]
163166
outputs:
164167
version_suffix: ${{ steps.deploy-inputs.outputs.version_suffix }}

0 commit comments

Comments
 (0)