change notify order.
This commit is contained in:
parent
b383b8a870
commit
05ce818e7d
@ -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() }}
|
||||||
|
Loading…
Reference in New Issue
Block a user