From 6ff08f7bfbc431edea3aa2dd611b40b0b79a1bfa Mon Sep 17 00:00:00 2001 From: John Ake Date: Wed, 1 Nov 2023 11:41:15 +0200 Subject: [PATCH] Purge db backup file after upload --- .github/workflows/actions/database-backup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions/database-backup/action.yml b/.github/workflows/actions/database-backup/action.yml index c5fdb1d0..c4c16ca1 100644 --- a/.github/workflows/actions/database-backup/action.yml +++ b/.github/workflows/actions/database-backup/action.yml @@ -135,7 +135,7 @@ runs: az storage blob upload --account-name ${{ env.storage_account }} --container-name database-backup \ --file ${{ env.BACKUP_FILE_NAME }}.tar.gz --name ${{ env.BACKUP_FILE_NAME }}.tar.gz --overwrite \ --account-key '${{ env.STORAGE_CONN_STR }}' - rm ${BACKUP_FILE_NAME}.tar.gz + rm ${{ env.BACKUP_FILE_NAME }}.tar.gz - name: Disk cleanup shell: bash