-
-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (29 loc) · 891 Bytes
/
docs.yml
File metadata and controls
33 lines (29 loc) · 891 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
name: Build and Publish docs
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.14]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python }}
- name: Install GraphViz
run: sudo apt install graphviz
- name: Build newsletters
run: make docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/_build # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch