Skip to content

Commit fe39092

Browse files
author
Konrad Michalik
authored
Merge pull request #11 from move-elevator/fix-feature-rollback-when
fix: change rollback trigger to manual in deployment configuration
2 parents 9a15627 + a109d0e commit fe39092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/deploy-feature-rollback.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ deploy:feature:rollback:
1616
- if: $CI_PIPELINE_SOURCE == "pipeline"
1717
when: never
1818
- if: $CI_COMMIT_REF_NAME =~ /^(main|feature-.*|[A-Z]{2,}-\d+-.*)$/
19-
when: always
19+
when: manual
20+
- when: never
2021
variables:
2122
DEPLOYER_CONFIG_FEATURE_BRANCH_HOST: stage
2223
script:
2324
- vendor/bin/dep deploy:unlock $DEPLOYER_CONFIG_FEATURE_BRANCH_HOST --feature=$CI_COMMIT_REF_NAME $DEPLOYER_CONFIG_ADDITIONAL_OPTION
2425
- vendor/bin/dep rollback $DEPLOYER_CONFIG_FEATURE_BRANCH_HOST --feature=$CI_COMMIT_REF_NAME $DEPLOYER_CONFIG_ADDITIONAL_OPTION
25-
when: manual
2626
allow_failure: true

0 commit comments

Comments
 (0)