test env.
Some checks failed
Deploy Applications / Build (push) Failing after 5s

This commit is contained in:
amass 2024-06-30 17:25:02 +08:00
parent 7cc330c284
commit 29c7cd6208

View File

@ -14,10 +14,6 @@ jobs:
- name: Send success notification
if: ${{ always() }}
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.
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