Update main.yml

This commit is contained in:
dicedtomato
2020-05-27 21:26:08 -07:00
committed by GitHub
parent 930056b323
commit 5fb9d80cfd

View File

@@ -6,10 +6,9 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: send custom message with args
uses: appleboy/discord-action@master
- name: Discord notification
env:
DISCORD_WEBHOOK: https://canary.discordapp.com/api/webhooks/${{ secrets.WEBHOOK_ID }}/${{ secrets.WEBHOOK_token }}
uses: Ilshidur/action-discord@master
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
args: The ${{ github.event_name }} event triggered first step.
args: 'The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed.'