diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 4f2395a..54bee61 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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 \ No newline at end of file