Fixes CI/CD

This commit is contained in:
2023-09-23 02:28:50 -03:00
parent 0da8cf45f2
commit 083ccaa55d

View File

@@ -12,7 +12,7 @@ jobs:
name: 'Terraform' name: 'Terraform'
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
TF_WORKSPACE: ${{github.ref == 'refs/heads/\"main\"' && 'prod' || 'staging'}} TF_WORKSPACE: ${{github.ref == 'refs/heads/main' && 'prod' || 'staging'}}
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest # Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
defaults: defaults: