mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-06 16:09:07 +08:00
19 lines
657 B
YAML
19 lines
657 B
YAML
|
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 }}**'
|