Deletes Staging Environment Only After 1800s

This commit is contained in:
2023-09-23 02:09:12 -03:00
parent 3b5914e76a
commit caa562e754

View File

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