-
Notifications
You must be signed in to change notification settings - Fork 736
35 lines (30 loc) · 1 KB
/
build_docs.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
name: Build and Deploy Docs
on:
workflow_dispatch:
inputs:
commitRef:
description: 'Git SHA commit to use to build docs'
required: true
jobs:
push-docs:
# 22.04 has broken deps for bison and flex, so reverted to 20.04 for docs build
# until a more permanent fix is created.
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.commitRef }}
- name: Remove Macro Util Wrapping
run: |
python3 .github/scripts/pre_doxygen.py ./iothub_client/inc ./doc-stage
python3 .github/scripts/pre_doxygen.py ./provisioning_client/inc/azure_prov_client ./doc-stage
- name: Install and Build Doxygen
run: .github/scripts/build_doxygen.sh
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: doc/html
clean: true
ssh-key: ${{ secrets.DEPLOY_KEY }}