-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 899 Bytes
/
deploy.yaml
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
name: Deploy
on:
workflow_dispatch:
push:
branches: [main]
jobs:
deploy-pages:
name: Deploy Pages
runs-on: ubuntu-24.04
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
concurrency:
group: pages
cancel-in-progress: true
steps:
- name: Checkout Project
uses: actions/checkout@v4.2.2
- name: Install Requirements
run: |
sudo apt-get install -y doxygen
pip3 install -r docs/requirements.txt
- name: Build Documentation
run: sphinx-build -b html docs build/html -W --keep-going
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: build/html
- name: Deploy Pages
id: deploy-pages
uses: actions/deploy-pages@v4.0.5