Skip to content

Commit ecb52ff

Browse files
Merge pull request #2 from datacite/fix-stage-deploy-step
fix the update terraform ci step
2 parents 7206600 + 5434380 commit ecb52ff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/_update_terraform.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ jobs:
3838
- name: Conditionally update staging environment
3939
if: ${{ (inputs.deployment_environment == 'staging') }}
4040
run: |
41-
./dockerize -template stage/services/client-api/_events.auto.tfvars.tmpl:stage/services/client-api/_events.auto.tfvars
42-
git add stage/services/client-api/_events.auto.tfvars
41+
./dockerize -template stage/services/events/_events.auto.tfvars.tmpl:stage/services/events/_events.auto.tfvars
42+
git add stage/services/events/_events.auto.tfvars
4343
git commit -m "Adding events git variables for commit ${{ github.sha }}"
4444
4545
- name: Conditionally update production/test environments
4646
if: ${{ (inputs.deployment_environment == 'production') }}
4747
run: |
48-
./dockerize -template prod-eu-west/services/client-api/_events.auto.tfvars.tmpl:prod-eu-west/services/client-api/_events.auto.tfvars
49-
./dockerize -template test/services/client-api/_events.auto.tfvars.tmpl:test/services/client-api/_events.auto.tfvars
48+
./dockerize -template prod-eu-west/services/events/_events.auto.tfvars.tmpl:prod-eu-west/services/events/_events.auto.tfvars
49+
./dockerize -template test/services/events/_events.auto.tfvars.tmpl:test/services/events/_events.auto.tfvars
5050
51-
git add prod-eu-west/services/client-api/_events.auto.tfvars
52-
git add test/services/client-api/_events.auto.tfvars
51+
git add prod-eu-west/services/events/_events.auto.tfvars
52+
git add test/services/events/_events.auto.tfvars
5353
git commit -m "Adding events git variables for tag ${{ inputs.image_tag }}"
5454
- name: Push changes
5555
uses: ad-m/github-push-action@v0.8.0

0 commit comments

Comments
 (0)