Merge pull request #4 from HideyoshiNakazone/fixes-ci-cd

Fixes CI/CD So It Runs in Main
This commit is contained in:
2023-09-23 02:16:00 -03:00
committed by GitHub

View File

@@ -10,9 +10,8 @@ permissions:
jobs: jobs:
terraform: terraform:
name: 'Terraform - Staging' name: 'Terraform'
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/staging'
env: env:
TF_WORKSPACE: ${{github.ref == 'refs/heads/\"main\"' && 'prod' || 'staging'}} TF_WORKSPACE: ${{github.ref == 'refs/heads/\"main\"' && 'prod' || 'staging'}}