Skip to content

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

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 … #8

Workflow file for this run

name: Generate and Deploy Doxygen Documentation
on: push
jobs:
deploy-docs:
runs-on: ubuntu-latest
container: dvcorg/cml-py3:latest
env:
repo_token: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Install Doxygen
run: sudo apt-get install doxygen
- name: Install CMake
run: sudo apt-get install cmake
- name: build
run: |
mkdir build
cd build
cmake .. -DBUILD_NETSCI=OFF -DBUILD_PYTHON_BINDINGS=OFF -DBUILD_SAMPLES=OFF -DGENERATE_DOCS=ON
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