Skip to content

Update README.md (#143) #56

Update README.md (#143)

Update README.md (#143) #56

Workflow file for this run

name: docs
on:
push:
branches:
- main
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
- 'include/**'
- 'tests/**'
- 'CMakeLists.txt'
- 'cmake/**'
- '*.md'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
generate_docs:
runs-on: ubuntu-latest
container: libfn/ci-docs:latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Export docs
continue-on-error: false
run: |
mkdir .build
cd .build
cmake -DDOCS=True ..
cmake --build . --target export_docs
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./.build/docs
name: docs-develop
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
artifact_name: docs-develop