-
Notifications
You must be signed in to change notification settings - Fork 69
36 lines (30 loc) · 1.08 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
36
name: build_docs
on: workflow_dispatch
jobs:
build_docs:
runs-on: windows-latest
steps:
- name: prep repository
uses: actions/checkout@v2
- name: prep msbuild
uses: microsoft/setup-msbuild@v1
- name: prep sandcastle
run: |
nuget install EWSoftware.SHFB -o packages -version 2022.2.6
nuget install EWSoftware.SHFB.NETFramework -o packages\components
nuget install ResolveThirdPartyReferenceLinks -o packages\components -version "0.1.0-beta"
nuget install PythonSyntaxGenerator -o packages\components -version "0.1.0-beta3"
- name: build documentation
run: msbuild script/cibuild_docs.msbuild -v:m /p:TrackFileAccess=false
# - name: upload docs
# uses: actions/upload-artifact@v2
# with:
# name: all-docs
# path: docs/api/1.0
- name: commit & publish
run: |
git config user.name mcneel-build
git config user.email [email protected]
git add -A docs/api/
git commit -m "Publish!"
git push