fix(upload): allow empty name field in the Upload message FROM: heade… #207
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 of a new commit | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'hapi' | |
jobs: | |
build: | |
name: Build. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: send custom message with args | |
uses: appleboy/discord-action@master | |
with: | |
webhook_id: ${{ secrets.WEBHOOK_ID }} | |
webhook_token: ${{ secrets.WEBHOOK_TOKEN }} | |
args: '**${{ github.actor }}** pushed [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to **${{ github.ref_name }}**' |