Resizes Instances for Better Cost
This commit is contained in:
3
.github/workflows/terraform.yml
vendored
3
.github/workflows/terraform.yml
vendored
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user