change notify order.
All checks were successful
Deploy / PullDocker (push) Successful in 6s
Deploy / Build (push) Successful in 1m30s

This commit is contained in:
amass 2024-06-30 23:26:14 +08:00
parent b383b8a870
commit 05ce818e7d

View File

@ -18,6 +18,8 @@ jobs:
container: container:
image: frp-by1.wwvvww.cn:45288/ubuntu_dev:22.04 image: frp-by1.wwvvww.cn:45288/ubuntu_dev:22.04
steps: steps:
- name: Check out source.
uses: actions/checkout@v4
- name: Notify-Start - name: Notify-Start
if: ${{ always() }} if: ${{ always() }}
run: | run: |
@ -27,8 +29,6 @@ jobs:
echo "提交ID: $(git rev-parse --short HEAD)">> notify.tpl echo "提交ID: $(git rev-parse --short HEAD)">> notify.tpl
echo -n "提交消息: ${{ github.event.head_commit.message }}">> notify.tpl echo -n "提交消息: ${{ github.event.head_commit.message }}">> 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 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
- name: Check out source.
uses: actions/checkout@v4
- run: resource/build.sh build - run: resource/build.sh build
- name: Notify-End - name: Notify-End
if: ${{ always() }} if: ${{ always() }}