Skip to content

Commit

Permalink
add notification in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
louis70109 authored Jan 9, 2022
1 parent 6c2db1c commit 0f24ad3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,15 @@ jobs:
run: |
npm install
npm run test
- name: send deploy success message
if: ${{ success() }}
uses: louis70109/line-notify-action@master
with:
token: ${{ secrets.LINE_NOTIFY_TOKEN }}
message: '✅ Announcer 測試過啦,Heroku go!'
- name: send failure message
if: ${{ failure() }}
uses: louis70109/line-notify-action@master
with:
token: ${{ secrets.LINE_NOTIFY_TOKEN }}
message: '🔥 Announcer 炸了. Check Action: https://github.com/louis70109/Announcer/actions'

0 comments on commit 0f24ad3

Please sign in to comment.