Skip to content

Commit

Permalink
Merge pull request #1352 from DFE-Digital/929-git-api-slackwebhook-mi…
Browse files Browse the repository at this point in the history
…ssing-error

Updated the fetch secret logic for SLACK-WEBHOOK
  • Loading branch information
VenkataChalla554 authored Jan 31, 2024
2 parents aad8fde + b233889 commit b7241e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
SLACK_COLOR: ${{env.SLACK_SUCCESS}}
SLACK_TITLE: "Release Published to ${{github.event.inputs.environment}}: ${{steps.tag_id.outputs.release_name}}"
SLACK_MESSAGE: ${{ fromJson( steps.tag_id.outputs.release_body) }}
SLACK_WEBHOOK: ${{steps.keyvault-yaml-secret.outputs.SLACK-RELEASE-NOTE-WEBHOOK}}
SLACK_WEBHOOK: ${{steps.fetch-secrets.outputs.SLACK-RELEASE-NOTE-WEBHOOK}}
MSG_MINIMAL: true

- name: Slack Notification
Expand All @@ -88,4 +88,4 @@ jobs:
SLACK_COLOR: ${{env.SLACK_FAILURE}}
SLACK_TITLE: "Manual Release Failed: ${{steps.tag_id.outputs.release_name}}"
SLACK_MESSAGE: Failure deploying ${{github.event.inputs.environment}} release
SLACK_WEBHOOK: ${{steps.keyvault-yaml-secret.outputs.SLACK-WEBHOOK}}
SLACK_WEBHOOK: ${{steps.fetch-secrets.outputs.SLACK-WEBHOOK}}

0 comments on commit b7241e7

Please sign in to comment.