Commit b9b7ec1 1 parent 9f9b752 commit b9b7ec1 Copy full SHA for b9b7ec1
File tree 2 files changed +28
-2
lines changed
2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : " GESIS update dispatcher"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ update-methods-hub-at-gesis :
10
+ if : github.repository == 'jupyterhub/mybinder.org-deploy'
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Create remote
14
+ run : |
15
+ if [ -z "$(git remote | grep methodshub)" ]
16
+ then
17
+ git remote add methodshub https://git.gesis.org/methods-hub/interactive-environment.git
18
+ fi
19
+ - name : Update remote
20
+ env :
21
+ GESIS_METHODS_HUB_TOKEN : ${{ secrets.GESIS_METHODS_HUB_TOKEN }}
22
+ run : |
23
+ git remote set-url methodshub https://jupyterhub-mybinder-org-deploy:${GESIS_METHODS_HUB_TOKEN}@git.gesis.org/methods-hub/interactive-environment.git
24
+ - name : Push main
25
+ run : |
26
+ git push methodshub ${GITHUB_SHA}:main
Original file line number Diff line number Diff line change 6
6
- main
7
7
8
8
jobs :
9
- update-gesis :
9
+ update-orc-at- gesis :
10
10
if : github.repository == 'jupyterhub/mybinder.org-deploy'
11
11
runs-on : ubuntu-latest
12
12
steps :
17
17
curl -X POST \
18
18
-F token=${GESIS_TOKEN} \
19
19
-F ref=main \
20
- https://git.gesis.org/api/v4/projects/ilcm%2Forc2-upgrade-bot/trigger/pipeline
20
+ https://git.gesis.org/api/v4/projects/ilcm%2Forc2-upgrade-bot/trigger/pipeline
You can’t perform that action at this time.
0 commit comments