Skip to content

Commit

Permalink
🚚 Send message to Discord when deploying to hedy.org (#5841)
Browse files Browse the repository at this point in the history
Send a message to Discord once we deploy to production. 

Fixes #5742

**How to test**

* We have to accept and deploy, and then will see if this does send the message.
  • Loading branch information
jpelay authored Oct 7, 2024
1 parent e21d34c commit 6e9d59c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-to-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ jobs:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: hedy-beta
heroku_email: [email protected]
- name: "Send message on Discord"
if: success()
uses: discord-actions/message@v2
with:
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: "Github"
avatar: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
message: "Deployed to hedy.org"

0 comments on commit 6e9d59c

Please sign in to comment.