File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Deploy Marimo Pages
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ paths :
9+ - " marimo/**"
10+ - " .github/workflows/deploy-marimo-pages.yml"
11+ workflow_dispatch :
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v5
20+
21+ - name : Set up pixi
22+ uses : prefix-dev/setup-pixi@v0.9.0
23+ with :
24+ cache : true
25+
26+ - name : Ensure docs directory exists
27+ run : mkdir -p docs/
28+
29+ - name : Export Marimo notebooks
30+ run : |
31+ pixi run marimo export html-wasm marimo/sec10k-data-review.py -o docs/sec10k-data-review.html --mode edit
32+
33+ - name : Verify generated files
34+ run : |
35+ echo "Generated files:"
36+ find docs -type f -name "*.html" -exec ls -la {} \;
37+
38+ - name : Upload Pages Artifact
39+ uses : actions/upload-pages-artifact@v3
40+ with :
41+ path : docs/
42+
43+ deploy :
44+ needs : build
45+ runs-on : ubuntu-latest
46+ environment :
47+ name : github-pages
48+ url : ${{ steps.deployment.outputs.page_url }}
49+
50+ permissions :
51+ pages : write
52+ id-token : write
53+
54+ steps :
55+ - name : Deploy to GitHub Pages
56+ id : deployment
57+ uses : actions/deploy-pages@v4
58+ with :
59+ artifact_name : github-pages
You can’t perform that action at this time.
0 commit comments