Skip to content

Commit

Permalink
HOTFIX - Remove automatic release note sending to Slack (#2107)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreycarvalho authored Nov 7, 2024
1 parent 5999a5c commit bd653ec
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,22 +124,4 @@ jobs:
with:
environment: prod
ref: ${{ needs.create-and-post-tag.outputs.newVersion }}
lambdaDeploy: true

send-slack-notifications:
needs: [deploy-to-prod, create-and-post-tag]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Post to Oddball Slack
env:
SLACK_WEBHOOK_URL: ${{ secrets.RELEASE_NOTES_SLACK_WEBHOOK }}
TAG: ${{ needs.create-and-post-tag.outputs.newVersion }}
run: |
curl -X POST -H 'Content-type: application/json' \
--data "{
\"text\": \":llama: Production Release Alert :llama:\n*Notification-API* \`${TAG}\` was released to production.\n:rocket: *<https://github.com/department-of-veterans-affairs/notification-api/releases/tag/${TAG}|Release notes are here>*\"
}" \
"$SLACK_WEBHOOK_URL"
lambdaDeploy: true

0 comments on commit bd653ec

Please sign in to comment.