File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy site
2+
3+ on :
4+ push :
5+ branches : [ c3d-docs ]
6+
7+ jobs :
8+ doc-deploy :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v2
13+ with :
14+ persist-credentials : false
15+
16+ - name : Set up Doxygen
17+ run : sudo apt install doxygen
18+
19+ - name : Display Doxygen version
20+ run : echo "Doxygen version $(doxygen -v)"
21+
22+ - name : Generate libctru tags
23+ run : |
24+ git clone --branch=master --single-branch --depth 1 https://github.com/devkitPro/libctru
25+ cd libctru/libctru
26+ doxygen
27+
28+ - name : Build documentation
29+ run : CTRU_DOCPATH="https://libctru.devkitpro.org/" doxygen
30+
31+ - name : Deploy 🚀
32+ uses : JamesIves/github-pages-deploy-action@3.7.1
33+ with :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ BRANCH : gh-pages # The branch the action should deploy to.
36+ FOLDER : docs/html # The folder the action should deploy.
37+ CLEAN : true # Automatically remove deleted files from the deploy branch
You can’t perform that action at this time.
0 commit comments