aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/man-update.yaml
blob: 8134dd531215cc54c2d0e12f80f41f7539d854df (plain)
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
name: Build man pages

on:
  workflow_dispatch:
  push:
    paths:
      - docs/**
    branches:
      - 'main'

jobs:
  main:
    name: Build man pages
    runs-on: ubuntu-latest
    concurrency:
      group: man
      cancel-in-progress: true
    steps:
    - name: Install deps
      run: sudo apt install pandoc

    - name: Clone repository
      uses: actions/checkout@v3
      with:
        token: ${{ secrets.PAT }}

    - name: Build man pages
      run: make man

    - uses: stefanzweifel/git-auto-commit-action@v4
      name: Commit
      with:
        commit_message: "[gha] build man pages"