Skip to content

Commit 59ee1d0

Browse files
authored
Automatically trigger a Citadel build
1 parent 45fd001 commit 59ee1d0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

+11
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,14 @@ jobs:
7979
files: |
8080
build/libs/agronet-*
8181
LICENSE
82+
83+
trigger-citadel-build:
84+
runs-on: ubuntu-latest
85+
needs: build
86+
steps:
87+
- name: Trigger Citadel build
88+
run: |
89+
curl -X POST -H "Accept: application/vnd.github.v3+json" \
90+
-H "Authorization: token ${{ secrets.CITADEL_BUILD_TRIGGER_TOKEN }}" \
91+
https://api.github.com/repos/trackedout/citadel/actions/workflows/build.yml/dispatches \
92+
-d '{"ref":"main"}'

0 commit comments

Comments
 (0)