Skip to content

Commit

Permalink
fix deploy strategy (#4045)
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshg13 authored Jul 20, 2023
1 parent 8c8a317 commit 81142b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ prod-deploy-demo-eks:
image: $CI_IMAGE
dependencies:
- build-image-demo
only:
refs:
- prod
- "*-staging"
rules:
- if: '$CI_COMMIT_REF_NAME == "prod"'
- if: '$CI_COMMIT_REF_NAME =~ /-staging$/'
script:
# # For debugging
#- aws sts get-caller-identity
Expand Down

0 comments on commit 81142b7

Please sign in to comment.