File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ jobs:
2525 strategy :
2626 fail-fast : false
2727 matrix :
28- env : [develop , staging, main ]
28+ env : [development , staging, production ]
2929 stack : [backend, frontend]
3030 include :
31- - env : develop
31+ - env : development
3232 branch : develop
3333 - env : staging
3434 branch : staging
35- - env : main
35+ - env : production
3636 branch : main
3737
3838 steps :
@@ -112,7 +112,7 @@ jobs:
112112 path : ${{ steps.paths.outputs.env_dir }}/plan.txt
113113
114114 - name : Terraform Apply
115- if : matrix.env == 'develop ' && github.ref == 'refs/heads/develop'
115+ if : matrix.env == 'development ' && github.ref == 'refs/heads/develop'
116116 run : terraform -chdir=${{ steps.paths.outputs.env_dir }} apply -auto-approve
117117 env :
118118 TF_VAR_allowed_ssh_cidrs : ${{ secrets.ALLOWED_SSH_CIDRS }}
You can’t perform that action at this time.
0 commit comments