-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 966 Bytes
/
deploy.yaml
File metadata and controls
42 lines (37 loc) · 966 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
40
41
42
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
uses: actions/checkout@v6.0.0
- name: Install Doxygen
run: sudo apt-get install -y doxygen
- name: Configure Project
uses: threeal/cmake-action@v2.1.0
with:
options: BUILD_DOCS=ON
run-build: false
- name: Build Documentation
run: cmake --build build --target docs
- name: Upload Documentation
uses: actions/upload-pages-artifact@v4.0.0
with:
path: build/docs/html
- name: Deploy Pages
id: deploy-pages
uses: actions/deploy-pages@v4.0.5