Merge patch commit #138
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify Discord About Game Update | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
notify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
# https://github.com/marketplace/actions/actions-for-discord | |
# https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#push | |
- name: Notify Discord Channel | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
uses: Ilshidur/action-discord@0.3.0 | |
with: | |
args: 'A game update is available on https://www.farmhand.life/ ! Take a look at what changed: {{ EVENT_PAYLOAD.compare }}' |