-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (30 loc) · 725 Bytes
/
docs.yml
File metadata and controls
38 lines (30 loc) · 725 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
name: Docs
on:
push:
branches:
- main
jobs:
Docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ secrets.DOCS_TOKEN }}
- name: Add Submodules
run: git submodule update --init --recursive
- name: Install Dependencies
run: sudo apt install doxygen
- name: Build Docs
working-directory: .
run: |
cd scripts
./doxygen.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.DOCS_TOKEN }}
publish_dir: './website'