-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to GitHub Actions for documentation deploying.
- Loading branch information
1 parent
8124c46
commit cadb240
Showing
5 changed files
with
38 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Deploy docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
repository_dispatch: | ||
types: [run_build] | ||
|
||
jobs: | ||
deploy-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y doxygen | ||
- name: Build Documentation | ||
run: | | ||
cd doc | ||
doxygen | ||
cp search.js html/search/search.js | ||
echo "<script id=\"searchdata\" type=\"text/xmldata\">" >> html/search.html | ||
cat searchdata.xml >> html/search.html | ||
echo "</script>" >> html/search.html | ||
- name: Deploy 🚀 | ||
uses: JamesIves/github-pages-deploy-action@4.1.4 | ||
if: contains(github.ref,'refs/heads/master') | ||
with: | ||
branch: gh-pages | ||
folder: docs | ||
clean: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters