Skip to content

Commit 5971a0d

Browse files
committed
Create GitLab actions to trigger update in GESIS
1 parent 8a1515d commit 5971a0d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/gesis.yaml

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

0 commit comments

Comments
 (0)