From 50be56a2bd392e73ca23bf2df21b928fb46cd21e Mon Sep 17 00:00:00 2001 From: SouthFox Date: Wed, 7 Feb 2024 22:05:04 +0800 Subject: [PATCH] [ci] add trigger redeploy job --- .forgejo/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 7928d77..d2245ff 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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 }} }'