From e8cf0f59bddb6da7ebee1696c06faacc82f7ba59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= <66256922+daniel-weisse@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:45:10 +0100 Subject: [PATCH] ci: force delete files on self-managed destroy (#2538) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weiße --- .github/actions/constellation_destroy/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/constellation_destroy/action.yml b/.github/actions/constellation_destroy/action.yml index f9ae8c8f8a..ac4892fc83 100644 --- a/.github/actions/constellation_destroy/action.yml +++ b/.github/actions/constellation_destroy/action.yml @@ -54,6 +54,6 @@ runs: run: | terraform init terraform destroy -auto-approve - # Explicitly delete the state file - rm ${{ github.workspace }}/constellation-state.yaml - rm ${{ github.workspace }}/constellation-admin.conf + + rm -f ${{ github.workspace }}/constellation-state.yaml + rm -f ${{ github.workspace }}/constellation-admin.conf