-
-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (33 loc) · 849 Bytes
/
deploy.yml
File metadata and controls
39 lines (33 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Deploy Sphinx Docs
on:
push:
branches: [ main ]
workflow_dispatch:
repository_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.11
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r "requirements.txt"
- name: Build Sphinx documentation
run: |
make all
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
build_dir: _build
fqdn: docs.libresign.coop
jekyll: false