-
Notifications
You must be signed in to change notification settings - Fork 153
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 #177 from 2bndy5/master
deploy docs using gh-pages
- Loading branch information
Showing
7 changed files
with
172 additions
and
113 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,45 @@ | ||
name: DoxyGen build | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
release: | ||
branches: | ||
- master | ||
types: | ||
- published | ||
- edited | ||
|
||
jobs: | ||
build-doxygen: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: get latest release version number | ||
id: latest_ver | ||
uses: pozetroninc/github-action-get-latest-release@master | ||
with: | ||
repository: nRF24/RF24Mesh | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: overwrite doxygen tags | ||
run: | | ||
mkdir docs | ||
touch doxygenAction | ||
echo "PROJECT_NUMBER = ${{ steps.latest_ver.outputs.release }}" >> doxygenAction | ||
echo "@INCLUDE = doxygenAction" >> Doxyfile | ||
- name: build doxygen | ||
uses: mattnotmitt/doxygen-action@v1 | ||
with: | ||
working-directory: '.' | ||
doxyfile-path: './Doxyfile' | ||
- name: upload to github pages | ||
if: ${{ github.event_name == 'release'}} | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs/html |
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 |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
# Generated library files | ||
*.so | ||
*.so.1 | ||
|
||
# ignore docs folder | ||
docs/ |
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 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
Oops, something went wrong.