Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #439 from jupp0r/github-actions-for-doxygen
ci: Use GitHub Actions to deploy documentation
- Loading branch information
Showing
2 changed files
with
30 additions
and
30 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,30 @@ | ||
name: Doxygen | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Code Coverage | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install doxygen | ||
run: | | ||
sudo apt-get remove -y --purge man-db # avoid time-consuming trigger | ||
sudo apt-get update | ||
sudo apt-get install -y doxygen graphviz | ||
- name: Generate doxygen | ||
run: doxygen | ||
working-directory: "${{ github.workspace }}/doc" | ||
|
||
- name: Deploy documentation | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
force_orphan: true | ||
publish_dir: ./doc/html |
This file was deleted.
Oops, something went wrong.