test JUPYTERHUB_SERVICE_PREFIX https://stackoverflow.com/questions/71… #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cache Binder Image | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build_binder: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Pre-warm Binder cache on mybinder.org | |
| uses: machine-learning-apps/repo2docker-action@master | |
| with: | |
| NO_PUSH: true | |
| # trigger a build on mybinder.org | |
| # uses the Git reference (e.g., 'refs/heads/main') as the image tag. | |
| MYBINDERORG_TAG: ${{ github.ref }} |