-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1006 Bytes
/
pages.yml
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
40
41
42
name: Generate and Deploy Pages
on:
push:
branches:
- 'main'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: 3.13
cache: pip
cache-dependency-path: |
requirements.txt
docs/requirements.txt
- name: Install Dependencies
run: python -m pip install --upgrade --upgrade-strategy=eager -r requirements.txt
- name: Install Docs Dependencies
working-directory: ./docs
run: make installdeps
- uses: actions/configure-pages@v5
- name: Build pages
working-directory: ./docs
run: make
- uses: actions/upload-pages-artifact@v3
with:
path: ./docs/html
- uses: actions/deploy-pages@v4