-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (24 loc) · 867 Bytes
/
build-docs.yml
File metadata and controls
32 lines (24 loc) · 867 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
name: Build Docs
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Doxygen
run: sudo apt install -y doxygen
- name: Install Graphviz
run: sudo apt install -y graphviz
- name: Install Doxygen Awesome
working-directory: ${{ github.workspace }}/docs
run: git clone https://github.com/jothepro/doxygen-awesome-css.git -b v2.2.1
- name: Run Doxygen
working-directory: ${{ github.workspace }}/docs
run: doxygen
- name: Upload documentation
working-directory: ${{ github.workspace }}/docs
run: |
sshpass -p "${{ secrets.EMSCRIPTEN_DEPLOY_PASSWORD }}" sftp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "${{ secrets.EMSCRIPTEN_DEPLOY_REMOTE }}" << EOF
put -r html public/www/docs
EOF