Merge pull request #5 from HideyoshiNakazone/staging

Staging - Terminal Fixes CI/CD so It Runs in Main
This commit is contained in:
2023-09-23 02:21:45 -03:00
committed by GitHub

View File

@@ -3,16 +3,14 @@ name: 'Terraform'
on:
push:
branches: [ "staging", "main" ]
pull_request:
permissions:
contents: read
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'}}