File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
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 66 - main
77
88jobs :
9- update-gesis :
9+ update-orc-at- gesis :
1010 if : github.repository == 'jupyterhub/mybinder.org-deploy'
1111 runs-on : ubuntu-latest
1212 steps :
You can’t perform that action at this time.
0 commit comments