[ci] add trigger redeploy job
Some checks failed
/ build-uberjar (push) Successful in 2m25s
/ trigger-redeploy (push) Failing after 38s

This commit is contained in:
SouthFox 2024-02-07 22:05:04 +08:00
parent 7e246df079
commit 859709db69

View file

@ -1,6 +1,6 @@
on: [push]
jobs:
upload-one:
build-uberjar:
container:
image: docker.io/southfox09/cl-builder:latest
@ -43,3 +43,12 @@ jobs:
with:
name: uberjar
path: target/*-standalone.jar
trigger-redeploy:
needs: [build-uberjar]
runs-on: docker
steps:
- uses: actions/webhook@v2
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
data: '{ "run_number": ${{ env.GITHUB_RUN_NUMBER }} }'