File tree Expand file tree Collapse file tree 9 files changed +650
-18
lines changed
Expand file tree Collapse file tree 9 files changed +650
-18
lines changed Original file line number Diff line number Diff line change 88 // Install just
99 "ghcr.io/guiyomh/features/just:0.1.0" : {
1010 "version" : " 1.40.0"
11+ },
12+ "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1" : {
13+ "installChromium" : true
14+ },
15+ "ghcr.io/rocker-org/devcontainer-features/apt-packages:1" : {
16+ "packages" : " chromium"
1117 }},
1218
1319 // Use 'postCreateCommand' to run commands after the container is created.
Original file line number Diff line number Diff line change 1+ name : Deploy Documentation
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ jobs :
13+ deploy-docs :
14+ runs-on : ubuntu-latest
15+ environment :
16+ name : github-pages
17+ url : ${{ steps.deployment.outputs.page_url }}
18+ steps :
19+ - name : Check out
20+ uses : actions/checkout@v4
21+
22+ - name : Set up the environment
23+ uses : ./.github/actions/setup-python-env
24+
25+ - name : Install Quarto
26+ uses : quarto-dev/quarto-actions/setup@v2
27+
28+ - name : Install dev dependencies
29+ run : uv sync --group dev --group docs
30+
31+ - name : Build documentation
32+ run : uv run mkdocs build --strict
33+
34+ - name : Setup Pages
35+ uses : actions/configure-pages@v4
36+
37+ - name : Upload artifact
38+ uses : actions/upload-pages-artifact@v3
39+ with :
40+ path : site
41+
42+ - name : Deploy to GitHub Pages
43+ id : deployment
44+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 6767 - name : Set up the environment
6868 uses : ./.github/actions/setup-python-env
6969
70+ - name : Install docs dependencies
71+ run : uv sync --group docs
72+
7073 - name : Check if documentation can be built
7174 run : uv run mkdocs build -s
75+
76+
77+ deploy-docs :
78+ needs : check-docs
79+ runs-on : ubuntu-latest
80+ steps :
81+ - name : Check out
82+ uses : actions/checkout@v4
83+
84+ - name : Set up the environment
85+ uses : ./.github/actions/setup-python-env
86+
87+ - name : Install docs dependencies
88+ run : uv sync --group docs
89+
90+ - name : Deploy documentation
91+ run : uv run mkdocs gh-deploy --force
Original file line number Diff line number Diff line change @@ -211,3 +211,13 @@ marimo/_lsp/
211211__marimo__ /
212212.vscode /launch.json
213213.DS_Store
214+
215+ outputs /
216+ /.quarto /
217+ * .html
218+ .DS_Store
219+ * _files /
220+
221+ # Explicitly include everything in docs directory
222+ ! docs /
223+ ! docs /** /*
You can’t perform that action at this time.
0 commit comments