File: documentation.yml

package info (click to toggle)
scitokens-cpp 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 832 kB
  • sloc: cpp: 7,897; ansic: 596; makefile: 14
file content (25 lines) | stat: -rw-r--r-- 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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