From 0ef6865d12ec4b03ed8673d51ac9085a50056183 Mon Sep 17 00:00:00 2001 From: John Ake Date: Fri, 27 Oct 2023 11:44:23 +0200 Subject: [PATCH] Add database backup workflow for aks --- .github/workflows/actions/database-backup/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/database-backup/action.yml b/.github/workflows/actions/database-backup/action.yml index 0bd1aea5..7a793f33 100644 --- a/.github/workflows/actions/database-backup/action.yml +++ b/.github/workflows/actions/database-backup/action.yml @@ -133,8 +133,8 @@ runs: shell: bash run: | az storage blob upload --account-name ${{ env.storage_account }} --container-name database-backup \ - --file ${BACKUP_FILE_NAME}.tar.gz --name ${BACKUP_FILE_NAME}.tar.gz --overwrite \ - --connection-string '${{ env.STORAGE_CONN_STR }}' + --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 - name: Disk cleanup