1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Add Slack action

This commit is contained in:
Zachary Scott 2021-05-08 07:00:46 +09:00 committed by GitHub
parent 9714720943
commit fa323dbc4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,5 +32,9 @@ jobs:
run: sudo apt-get install -y pandoc nodejs pkg-config libxml2-dev libxslt-dev run: sudo apt-get install -y pandoc nodejs pkg-config libxml2-dev libxslt-dev
- name: Run tests - name: Run tests
run: ./.actions.sh run: ./.actions.sh
- uses: 8398a7/action-slack@v3
# TODO(zzak, rkh): Add slack notification. with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}