Skip to content

Commit

Permalink
Add database backup workflow for aks
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake committed Oct 28, 2023
1 parent 319fada commit 97d78d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions/database-backup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ runs:
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 }}'
--account-key '${{ env.STORAGE_CONN_STR }}'
rm ${BACKUP_FILE_NAME}.tar.gz
- name: Disk cleanup
Expand All @@ -156,6 +156,6 @@ runs:
SLACK_USERNAME: CI Deployment
SLACK_TITLE: Database backup failure
SLACK_MESSAGE: ${{ inputs.environment }} database backup job failed
SLACK_WEBHOOK: ${{ steps.slack-web-hook.outputs.SLACK_WEBHOOK }}
SLACK_WEBHOOK: ${{ steps.slack-web-hook.outputs.SLACK-WEBHOOK }}
SLACK_COLOR: failure
SLACK_FOOTER: Sent from backup job in database-backup workflow

0 comments on commit 97d78d4

Please sign in to comment.