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