CI: add reusable actions

This commit is contained in:
Mihai Fufezan 2023-09-10 21:51:13 +03:00 committed by Mihai Fufezan
parent bc41d7ec85
commit ed51fe7bac
7 changed files with 111 additions and 95 deletions

View file

@ -15,17 +15,16 @@ jobs:
steps:
- name: Install deps
run: sudo apt install pandoc
- name: Clone repository
uses: actions/checkout@v3
# Not needed
# with:
# submodules: recursive
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"
commit_user_name: Mihai Fufezan
commit_user_email: fufexan@protonmail.com
commit_author: Mihai Fufezan <fufexan@protonmail.com>