This commit is contained in:
parent
7cc330c284
commit
29c7cd6208
@ -14,10 +14,6 @@ jobs:
|
|||||||
- name: Send success notification
|
- name: Send success notification
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
AMASS_REPO_NAME=${{ github.repository }}
|
|
||||||
AMASS_BUILD_STATUS=${{ job.status }}
|
|
||||||
AMASS_COMMIT=${{ github.sha }}
|
|
||||||
AMASS_COMMIT_MESSAGE=${{ github.event.head_commit.message }}
|
|
||||||
echo build ${{ github.repository }} finished.
|
echo build ${{ github.repository }} finished.
|
||||||
cat resources/notify.tpl | envsubst | jq -sR .
|
ehco "repo: ${{ github.repository }}\nstatus: ${{ job.status }}" | envsubst | jq -sR .
|
||||||
cat resources/notify.tpl | envsubst | jq -sR . | xargs -0 -I {} curl -H "Content-Type: application/json" -X POST -d '{"type":"text","msg":{} }' https://amass.fun/notify
|
cat resources/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