Skip to content

Binder cache warmup #13

Binder cache warmup

Binder cache warmup #13

Workflow file for this run

name: Binder cache warmup
on:
push:
branches: [ main ]
schedule:
- cron: "0 3 * * 0" # weekly, Sunday 03:00 UTC
workflow_dispatch:
jobs:
warmup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Trigger mybinder.org build
run: |
set -eux
REF="${{ github.ref_name }}"
if [ -z "$REF" ] || [ "$REF" = "refs/heads/" ]; then REF="main"; fi
curl -LsS -o /dev/null -w "%{http_code}\n" \
"https://mybinder.org/build/gh/${{ github.repository }}/$REF" || true