Skip to content

Commit

Permalink
display the full filename to the backup in Azure Storage.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltello committed Jan 31, 2025
1 parent 550714f commit 7ebd27f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ runs:
env:
SLACK_USERNAME: CI Deployment
SLACK_TITLE: Snapshot Database restore succeeded
SLACK_MESSAGE: ${{ inputs.app-name }} - snapshot restore job succeeded
SLACK_MESSAGE: ${{ inputs.app-name }} - snapshot restore job from ${{ inputs.storage-account }} / database-backup / ${{ inputs.backup-file }} succeeded!
SLACK_WEBHOOK: ${{ inputs.slack-webhook }}
SLACK_COLOR: success
SLACK_FOOTER: Sent from restore-snapshot-database-from-azure-storage action
Expand All @@ -148,7 +148,7 @@ runs:
env:
SLACK_USERNAME: CI Deployment
SLACK_TITLE: Snapshot Database restore failure
SLACK_MESSAGE: ${{ inputs.app-name }} snapshot restore job failed
SLACK_MESSAGE: ${{ inputs.app-name }} snapshot restore job from ${{ inputs.storage-account }} / database-backup / ${{ inputs.backup-file }} failed!
SLACK_WEBHOOK: ${{ inputs.slack-webhook }}
SLACK_COLOR: failure
SLACK_FOOTER: Sent from restore-snapshot-database-from-azure-storage action
2 changes: 1 addition & 1 deletion .github/workflows/backup-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
uses: rtCamp/action-slack-notify@v2
env:
SLACK_USERNAME: CI Deployment
SLACK_TITLE: ${{ env.DEPLOY_ENV }} database dump stored in Azure Storage (${{ env.STORAGE_ACCOUNT_NAME }}) - Success
SLACK_TITLE: ${{ env.DEPLOY_ENV }} database dump stored in Azure Storage (${{ env.STORAGE_ACCOUNT_NAME }} / database-backup / ${{ env.BACKUP_FILE }}.sql) - Success
SLACK_MESSAGE: ${{ env.APP_NAME }} - ${{ env.DEPLOY_ENV }} database backup job succeeded
SLACK_WEBHOOK: ${{ steps.key-vault-secrets.outputs.SLACK_WEBHOOK }}
SLACK_COLOR: success
Expand Down

0 comments on commit 7ebd27f

Please sign in to comment.