Enable system installation of OpenRAND (#22) #47
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
name: Generate Doc | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
pages: write | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install Doxygen | |
run: sudo apt-get install doxygen | |
- name: Generate Docs | |
working-directory: ${{github.workspace}}/docs | |
run: doxygen Doxyfile | |
- name: Deploy to GitHub Pages | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build/html | |
# `keep_files` added to keep results and other `gh-pages` branch-only files intact | |
keep_files: true | |