Skip to content

Commit 72bce9b

Browse files
Add dataset and github workflow
1 parent 076c4fa commit 72bce9b

270 files changed

Lines changed: 55 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/deploy.yml‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy Marimo Notebook to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Setup Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.13'
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install -r requirements.txt
25+
- name: Export notebook
26+
run: marimo export html-wasm intro_to_ml.py -o wasm --mode edit
27+
- name: Upload artifact
28+
uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: ./wasm
31+
32+
deploy:
33+
needs: build
34+
runs-on: ubuntu-latest
35+
environment:
36+
name: github-pages
37+
url: ${{ steps.deployment.outputs.page_url }}
38+
39+
if: github.ref == 'refs/heads/main'
40+
permissions:
41+
pages: write
42+
id-token: write
43+
44+
steps:
45+
- name: Deploy to GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4
48+
with:
49+
artifact_name: github-pages

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ venv/
2626
**/_version.py
2727

2828
datasets/
29+
wasm/
2930
__marimo__/
3031
layouts/
3132
*.pkl

‎README.md‎

Lines changed: 1 addition & 1 deletion

‎dataset/0/2026-01-22-095851.png‎

1.68 KB

‎dataset/0/2026-01-22-095858.png‎

1.68 KB

‎dataset/0/2026-01-22-095909.png‎

1.5 KB

‎dataset/0/2026-01-22-095916.png‎

1.57 KB

‎dataset/0/2026-01-22-095923.png‎

1.52 KB

‎dataset/0/2026-01-22-100001.png‎

1.69 KB

‎dataset/0/2026-01-22-100020.png‎

1.55 KB

0 commit comments

Comments
 (0)