mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
Fix state exists check
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
012937740f
commit
295ca7ccb4
2
.github/actions/update_tfstate/action.yml
vendored
2
.github/actions/update_tfstate/action.yml
vendored
@ -23,7 +23,7 @@ runs:
|
||||
if: always() && inputs.skipDeletion == 'false'
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ ! -d constellation-terraform ]] && [[ ! -d constellation-iam-terraform ]]; then
|
||||
if [[ -d constellation-terraform ]] || [[ -d constellation-iam-terraform ]]; then
|
||||
echo "DELETE_TF_STATE=true" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "DELETE_TF_STATE=false" >> "$GITHUB_ENV"
|
||||
|
Loading…
x
Reference in New Issue
Block a user