Skip to content

Merge pull request #11 from tbhaxor/doxygen-theme #10

Merge pull request #11 from tbhaxor/doxygen-theme

Merge pull request #11 from tbhaxor/doxygen-theme #10

Workflow file for this run

name: Deploy docs
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Install doxygen
run: |
sudo apt install graphviz -y
wget https://github.com/doxygen/doxygen/releases/download/Release_1_9_7/doxygen-1.9.7.linux.bin.tar.gz
tar xf doxygen-1.9.7.linux.bin.tar.gz
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Pre-processing README.md
run: |
sed 's|\(tests/CMakeLists\.txt#L5\)|https://github.com/tbhaxor/firefly/blob/master/\1|' README.md
- name: Build documentation
run: |
./doxygen-1.9.7/bin/doxygen
touch docs/html/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'docs/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2