Merge pull request #2 from HideyoshiNakazone/deletes-staging-only-after-1800s

Deletes Staging Environment Only After 1800s
This commit is contained in:
2023-09-23 02:09:53 -03:00
committed by GitHub

View File

@@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/staging' if: github.ref == 'refs/heads/staging'
env: env:
TF_WORKSPACE: ${{github.ref == 'refs/heads/\"main\"' && 'prod' || 'staging'}} TF_WORKSPACE: 'staging'
steps: steps:
- name: Sleep for 1800 minutes - name: Sleep for 1800 minutes
run: sleep 60s run: sleep 1800s
shell: bash shell: bash
# Checkout the repository to the GitHub Actions runner # Checkout the repository to the GitHub Actions runner