From b2e0ddbe11db036b25d7ebbc9030f53c5a7f5bea Mon Sep 17 00:00:00 2001 From: Shahe Islam Date: Fri, 11 Oct 2024 16:41:51 +0100 Subject: [PATCH] Testing failure scenario to activate Slack Webhook --- .github/workflows/database-backup.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/database-backup.yml b/.github/workflows/database-backup.yml index b535fba8..d5f0855a 100644 --- a/.github/workflows/database-backup.yml +++ b/.github/workflows/database-backup.yml @@ -83,6 +83,11 @@ jobs: echo ' STORAGE ACCOUNT: ${{ env.STORAGE_ACCOUNT_NAME }}' >> $GITHUB_STEP_SUMMARY echo ' FILENAME: ${{ env.BACKUP_FILE }}.sql.gz' >> $GITHUB_STEP_SUMMARY + - uses: azure/login@v2 + if: failure() + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + - name: Get Slack webhook uses: Azure/get-keyvault-secrets@v1 if: failure()