👷 Auto-build-and-cache Binder image #1
This file contains 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
# Copyright (C) 2024 C-PAC Developers | |
# This file is part of C-PAC_tutorials. | |
# C-PAC_tutorials is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
# C-PAC_tutorials is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | |
# You should have received a copy of the GNU Lesser General Public License along with C-PAC. If not, see <https://www.gnu.org/licenses/>. | |
name: Cache branch Binder build | |
on: [push] | |
jobs: | |
Create-MyBinderOrg-Cache: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Binder build on mybinder.org | |
uses: jupyterhub/repo2docker-action@master | |
with: | |
NO_PUSH: true | |
MYBINDERORG_TAG: ${{ github.event.ref }} |