File: documentation.yml

package info (click to toggle)
inja 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,620 kB
  • sloc: cpp: 30,997; python: 189; makefile: 16; sh: 3
file content (39 lines) | stat: -rw-r--r-- 757 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Documentation

on:
  release:
    types: [published]
  workflow_dispatch:

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest

    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}

    permissions:
      pages: write
      id-token: write

    steps:
      - uses: actions/checkout@v4

      - uses: actions/configure-pages@v5

      - name: Install doxygen
        run: sudo apt-get -y install doxygen

      - name: Build documentation
        working-directory: doc
        run: doxygen

      - name: Upload artifact
        uses: actions/upload-pages-artifact@v3
        with:
          path: 'doc/html'

      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4