Skip to content

Commit 2605de9

Browse files
committed
binder config for env yml and pixi toml
1 parent 0d87904 commit 2605de9

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

.github/workflows/binder-cache.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .github/workflows/binder-cache.yml
2+
name: Cache Binder Image
3+
4+
on:
5+
push:
6+
branches:
7+
- main # Or your default branch
8+
9+
jobs:
10+
build_binder:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Pre-warm Binder cache
17+
uses: machine-learning-apps/repo2docker-action@master
18+
with:
19+
# URL of the BinderHub instance
20+
BINDER_URL: https://mybinder.org
21+
22+
IMAGE_PREFIX: Jack-Hayes
23+
24+
# token to check if the image already exists
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.

environment.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ dependencies:
1616
- rasterio
1717
- shapely
1818
- matplotlib
19-
- pip:
20-
- odc-stac
21-
- pystac-client
22-
- planetary-computer
23-
- localtileserver
19+
- odc-stac
20+
- pystac-client
21+
- planetary-computer
22+
- localtileserver

0 commit comments

Comments
 (0)