Skip to content

feat: Added cmake option that allows you to build docs on a non-cuda … #7

feat: Added cmake option that allows you to build docs on a non-cuda …

feat: Added cmake option that allows you to build docs on a non-cuda … #7

Workflow file for this run

name: Generate and Deploy Doxygen Documentation
on: push
jobs:
deploy-docs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
steps:
- name: Install Doxygen
run: sudo apt-get install doxygen
- name: Install CMake
run: sudo apt-get install cmake
- name: Configure CMake
run: cmake -S . -DBUILD_NETSCI=OFF -DBUILD_PYTHON_BINDINGS=OFF -DBUILD_SAMPLES=OFF -DGENERATE_DOCS=ON
- name: Build Doxygen Documentation
run: make docs
- name: Checkout GitHub Pages Repository
uses: actions/checkout@v2
with:
repository: 'netscianalysis/netscianalysis.github.io'
token: ${{ secrets.GITHUB_TOKEN }}
path: gh-pages
- name: Copy Documentation to GitHub Pages Repository
run: cp -r ../docs/html/* gh-pages/
- name: Commit and Push Documentation
run: |
cd gh-pages
git config user.name "github-actions"
git config user.email "[email protected]"
git add .
git commit -m "feat: Update documentation"
git push origin main