Skip to content

Commit ed38627

Browse files
committed
Add update notice
1 parent ed7a5f6 commit ed38627

30 files changed

+266
-5159
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,4 @@ jobs:
2222
python -m pip install -r requirements.txt
2323
- name: Build the JupyterLite site
2424
run: |
25-
cp README.md content
26-
cd tskit-launcher
27-
jlpm install
28-
jlpm run build
29-
pip install .
30-
cd ..
31-
jupyter lite build --contents content --output-dir dist
25+
./build.sh

build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash -e
2+
3+
cd tskit-launcher/
4+
jlpm install
5+
jlpm run build
6+
pip install -e .
7+
cd ..
8+
rm -rf dist
9+
jupyter lite build --contents content --output-dir dist
10+
find content/ -type f -exec cat {} \; | sha256sum | cut -d' ' -f1 > content-hash.txt
11+
HASH=$(cat content-hash.txt)
12+
echo "{\"contentHash\":\"$HASH\",\"lastUpdated\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}" > dist/lab/content-config.json

content-hash.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
05cfda449cc14ff90cee5a0e1f904008f159ce3fd094eb319c55c4fce01076f6

content/data/Museums_in_DC.geojson

Lines changed: 0 additions & 1 deletion
This file was deleted.

content/data/bar.vl.json

Lines changed: 0 additions & 54 deletions
This file was deleted.

content/data/fasta-example.fasta

Lines changed: 0 additions & 8 deletions
This file was deleted.

content/data/iris.csv

Lines changed: 0 additions & 151 deletions
This file was deleted.

content/data/matplotlib.png

-25.8 KB
Binary file not shown.

content/javascript.ipynb

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)