Fixes CI/CD so It Runs in Main
This commit is contained in:
3
.github/workflows/terraform.yml
vendored
3
.github/workflows/terraform.yml
vendored
@@ -10,9 +10,8 @@ permissions:
|
||||
|
||||
jobs:
|
||||
terraform:
|
||||
name: 'Terraform - Staging'
|
||||
name: 'Terraform'
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/staging'
|
||||
env:
|
||||
TF_WORKSPACE: ${{github.ref == 'refs/heads/\"main\"' && 'prod' || 'staging'}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user