[ci] add trigger redeploy job
All checks were successful
/ build-uberjar (push) Successful in 2m30s
/ trigger-redeploy (push) Successful in 10s

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

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@master
with:
url: ${{ secrets.WEBHOOK_URL }}
body: '{ "run_number": ${{ env.GITHUB_RUN_NUMBER }} }'