Skip to content

Commit 8261342

Browse files
author
Mark R. Tuttle
committed
Add cbmc documentation publication workflow
1 parent b368ca4 commit 8261342

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish CBMC documentation
2+
on: [push, pull_request]
3+
4+
jobs:
5+
publish:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v2
10+
11+
- name: Install doxygen
12+
run: sudo apt install doxygen graphviz pandoc
13+
14+
- name: Install python modules
15+
run: sudo python3 -m pip install gitpython pandocfilters
16+
17+
- name: Build documentation
18+
run: cd doc/doxygen-root && make && touch html/.nojekyll
19+
20+
- name: Publish documentation
21+
if: ${{ github.event_name == 'push' && startsWith('refs/heads/develop', github.ref) }}
22+
uses: JamesIves/[email protected]
23+
with:
24+
branch: gh-pages
25+
folder: doc/doxygen-root/html

0 commit comments

Comments
 (0)