File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ workflow_dispatch :
3+ push :
4+ branches : gh-pages-publish
5+
6+ name : Quarto Publish
7+
8+ jobs :
9+ build-deploy :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ steps :
14+ - name : Check out repository
15+ uses : actions/checkout@v4
16+
17+ - uses : actions/checkout@v4
18+ - name : Install uv
19+ uses : astral-sh/setup-uv@v6
20+
21+ - name : Set up Python
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+
26+ - name : Display Python version
27+ run : python -c "import sys; print(sys.version)"
28+
29+ - name : Build uv lock file
30+ run : uv lock
31+
32+ - name : Install dependencies
33+ run : uv sync
34+
35+ - name : Configure Git
36+ run : |
37+ git config user.name "github-actions[bot]"
38+ git config user.email "github-actions[bot]@users.noreply.github.com"
39+
40+ - name : Build Quarto Docs
41+ run : uv run quartodoc build
42+
43+ - name : Set up Quarto
44+ uses : quarto-dev/quarto-actions/setup@v2
45+
46+ - name : Render and Publish
47+ uses : quarto-dev/quarto-actions/publish@v2
48+ with :
49+ target : gh-pages
50+ env :
51+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments