Another variant of vector #156
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: doxygen | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
publish-docs: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install curl | |
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev | |
- name: Install doxygen | |
run: sudo apt install -y doxygen | |
- name: Build doxygen | |
run: | | |
mkdir -p build | |
cd build | |
cmake -DPLUGIFY_BUILD_DOCS=ON .. | |
cmake --build . --target docs -- -j | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: build/docs/html | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |