Skip to content

Commit 2cab69f

Browse files
committed
Trigger builds on mybinder regularly
1 parent d329f0e commit 2cab69f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Trigger builds on mybinder
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
schedule:
8+
- cron: "0 0 * * *"
9+
workflow_dispatch:
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
# keep workflow active even if repository has no activity for 60 days (do not execute for pull requests)
16+
- run: '[ "$GITHUB_EVENT_NAME" = "pull_request" ] || curl --fail -X PUT -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/$GITHUB_REPOSITORY/actions/workflows/trigger-mybinder-build.yml/enable'
17+
- run: |
18+
[ $GITHUB_REPOSITORY = "homalg-project/CapAndHomalgNotebooks" ] || exit 1
19+
#curl -L https://mybinder.org/build/gh/homalg-project/CapAndHomalgNotebooks/master
20+
#curl -L https://gke.mybinder.org/build/gh/homalg-project/CapAndHomalgNotebooks/master
21+
#curl -L https://ovh.mybinder.org/build/gh/homalg-project/CapAndHomalgNotebooks/master
22+
# we currently link directly to gesis
23+
curl -L https://gesis.mybinder.org/build/gh/homalg-project/CapAndHomalgNotebooks/master
24+
#curl -L https://turing.mybinder.org/build/gh/homalg-project/CapAndHomalgNotebooks/master

0 commit comments

Comments
 (0)