Skip to content

Commit 26be239

Browse files
authored
build: Cache Binder Build Step (#188)
Utilize GitHub action to cache the Binder build step. Only enable this step on master so that we'll only build upon merge to master.
1 parent b81350e commit 26be239

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/binder-cache.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Cache Binder
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
Create-MyBinderOrg-Cache:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: cache binder build on mybinder.org
13+
uses: jupyterhub/repo2docker-action@master
14+
with:
15+
NO_PUSH: true
16+
MYBINDERORG_TAG: ${{ github.event.ref }}

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Added
99
~~~~~
1010

1111
- isort for automatic import sorting
12+
- Binder build cache step
1213

1314
Updated
1415
~~~~~~~

0 commit comments

Comments
 (0)