Resizes Instances for Better Cost

This commit is contained in:
2023-10-24 22:07:05 -03:00
parent 2150450577
commit 4b5c9dbcc2
2 changed files with 3 additions and 2 deletions

View File

@@ -45,8 +45,9 @@ jobs:
run: terraform apply -auto-approve -input=false
- name: Deploy Project via Dispatcher
if: env.TF_WORKSPACE == 'prod'
env:
DISPATCHER_EVENT: ${{env.TF_WORKSPACE == 'prod' && 'deploy-prod' || 'deploy-staging'}}
DISPATCHER_EVENT: 'deploy-prod'
run: |
curl -X POST https://api.github.com/repos/HideyoshiNakazone/infra-hideyoshi.com/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \