Skip to content

Commit 2895db0

Browse files
authored
Merge pull request jupyterhub#2676 from rgaiacs/gesis-webhook
Create GitLab actions to trigger update in GESIS
2 parents a09e6ed + 12ee487 commit 2895db0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/gesis.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "GESIS update dispatcher"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update-gesis:
10+
if: github.repository == 'jupyterhub/mybinder.org-deploy'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Dispatcher
14+
env:
15+
GESIS_TOKEN: ${{ secrets.GESIS_TOKEN }}
16+
run: |
17+
curl -X POST \
18+
-F token=${GESIS_TOKEN} \
19+
-F ref=main \
20+
https://git.gesis.org/api/v4/projects/ilcm%2Forc2-upgrade-bot/trigger/pipeline

0 commit comments

Comments
 (0)