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

This commit is contained in:
amass 2024-06-30 18:04:21 +08:00
parent c7b0b8fe1f
commit cd7b2b8deb
2 changed files with 4 additions and 12 deletions

View File

@ -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

View File

@ -1,6 +0,0 @@
repo: $AMASS_GITEA_REPO_NAME
status: $AMASS_GITEA_BUILD_STATUS
commit: $AMASS_GITEA_COMMIT
message: $AMASS_GITEA_COMMIT_MESSAGE
build link: $AMASS_GITEA_BUILD_LINK
repo link: $AMASS_GITEA_REPO_LINK