[ci] add trigger redeploy job
This commit is contained in:
parent
7e246df079
commit
859709db69
1 changed files with 10 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
upload-one:
|
build-uberjar:
|
||||||
container:
|
container:
|
||||||
image: docker.io/southfox09/cl-builder:latest
|
image: docker.io/southfox09/cl-builder:latest
|
||||||
|
|
||||||
|
@ -43,3 +43,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: uberjar
|
name: uberjar
|
||||||
path: target/*-standalone.jar
|
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 }} }'
|
||||||
|
|
Loading…
Reference in a new issue