File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Deploy Documentation
2+
3+ on : [push, pull_request]
4+
5+
6+ jobs :
7+ Build :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v2
13+
14+ - name : Install Dependencies Ubuntu
15+ run : |
16+ sudo apt-get update
17+ sudo apt install -y python-dev python build-essential graphviz
18+ sudo pip install ford
19+
20+ - name : Build Developer Documenation
21+ run : |
22+ ford doc-generator.md
23+
24+ - name : Upload Documentation
25+ uses : actions/upload-artifact@v2
26+ with :
27+ name : documentation
28+ path : doc/html
29+ if-no-files-found : error
30+
31+ - name : Broken Link Check
32+ if : ${{ github.ref == 'refs/heads/main'}}
33+ uses : technote-space/broken-link-checker-action@v1
34+ with :
35+ TARGET : file://${{ github.workspace }}/doc/html/index.html
36+ RECURSIVE : true
37+ ASSIGNEES : ${{ github.actor }}
38+
39+ - name : Deploy API Documentation
40+ 41+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
42+ with :
43+ branch : gh-pages
44+ folder : doc/html
You can’t perform that action at this time.
0 commit comments