test env.
This commit is contained in:
@@ -14,11 +14,9 @@ jobs:
|
||||
- name: Send success notification
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
echo "repo: ${{ github.repository }}" >> notify.tpl
|
||||
echo "actor:${{ github.actor }}" >> notify.tpl
|
||||
echo "status: ${{ job.status }}">> notify.tpl
|
||||
echo "commit: ${{ github.sha }}">> notify.tpl
|
||||
echo "repo: ${{ github.repository }}" >> notify.tpl
|
||||
echo "status: ${{ job.status }}">> notify.tpl
|
||||
echo "commit: $(git rev-parse --short HEAD)">> notify.tpl
|
||||
echo "message: ${{ github.event.head_commit.message }}">> notify.tpl
|
||||
echo "仓库地址: ${{ github.repositoryUrl }}">> notify.tpl
|
||||
cat notify.tpl | envsubst | jq -sR .
|
||||
echo "repo link: https://gitea.amass.fun/${{ github.repositoryUrl }}">> notify.tpl
|
||||
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
|
||||
Reference in New Issue
Block a user