Refactored Soil Respiration Flux Calculations #365
Workflow file for this run
This file contains hidden or 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: Build and Upload Docs | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| types: [opened, synchronize, reopened, closed] | |
| permissions: | |
| contents: read # needed for checkout | |
| pages: write # to deploy to GitHub Pages | |
| id-token: write # to authenticate with GitHub Pages | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: docs-build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install system deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y doxygen graphviz | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install mkdocs mkdocs-material pymdown-extensions | |
| - name: Build docs (MkDocs + Doxygen) | |
| run: | | |
| make clean document | |
| touch site/.nojekyll | |
| - name: Upload Pages artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: site |