File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed
Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Sphinx Docs
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ workflow_dispatch :
7+ repository_dispatch :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repo
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : 3.11
20+
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install -r "docs/requirements.txt"
25+
26+ - name : Build Sphinx documentation
27+ run : |
28+ cd docs
29+ make all
30+
31+ - name : Deploy to GitHub Pages
32+ if : success()
33+ uses : crazy-max/ghaction-github-pages@v4
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ with :
37+ build_dir : _build
38+ fqdn : docs.libresign.coop
39+ jekyll : false
Original file line number Diff line number Diff line change 1- docs / _build /
1+ _build
22volumes /
33
44# Cache Python
You can’t perform that action at this time.
0 commit comments