Files
jwt-cpp/.github/workflows/documentation.yml
Chris Mc 8ed685e5f7 Bump GitHub Actions to latest versions (#326)
* bump actions

* avoid conflicts

* work around nodejs being too new

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-18-04

* clang-format-14 needs ubuntu 22

* dont use source

* limit check to v3 

there no docker image for node 20 on debian buster with gcc-4.8 and ubuntu 18 has a glibc that is too low

we'll need to checkout manually when needed

* explicit format

* Update jwt.yml

* clean up attempt code
2024-01-23 10:56:48 -08:00

26 lines
602 B
YAML

name: Documentation CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ssciwr/doxygen-install@v1
with:
version: "1.10.0"
- run: sudo apt install graphviz
- run: |
cmake . -DJWT_BUILD_DOCS=ON
cmake --build . --target jwt-docs
- if: github.event_name == 'push'
name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/html
force_orphan: true