This commit is contained in:
parent
706f23e5d9
commit
3f90f1b698
@ -14,10 +14,10 @@ jobs:
|
||||
- name: Send success notification
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "repo: ${{ github.repository }}"> notify.tpl
|
||||
echo "status: ${{ job.status }}"> notify.tpl
|
||||
echo "commit: ${{ github.sha }}"> notify.tpl
|
||||
echo "message: ${{ github.event.head_commit.message }}"> notify.tpl
|
||||
echo "repo link: https://gitea.amass.fun/${{ github.repository }}"> notify.tpl
|
||||
echo "repo: ${{ github.repository }}">> notify.tpl
|
||||
echo "status: ${{ job.status }}">> notify.tpl
|
||||
echo "commit: ${{ github.sha }}">> notify.tpl
|
||||
echo "message: ${{ github.event.head_commit.message }}">> notify.tpl
|
||||
echo "repo link: https://gitea.amass.fun/${{ github.repository }}">> notify.tpl
|
||||
cat notify.tpl | envsubst | jq -sR .
|
||||
cat notify.tpl | envsubst | jq -sR . | xargs -0 -I {} curl -H "Content-Type: application/json" -X POST -d '{"type":"text","msg":{} }' https://amass.fun/notify
|
Loading…
Reference in New Issue
Block a user