2021-01-15 16:31:16 +01:00
|
|
|
---
|
|
|
|
name: Compile debian man
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
jobs:
|
|
|
|
compile-debian-man:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repo
|
2022-03-02 00:14:50 +01:00
|
|
|
uses: actions/checkout@v3
|
2021-01-15 16:31:16 +01:00
|
|
|
- name: Produce debian man
|
|
|
|
run: 'docker run --rm --volume "`pwd`:/data" --user `id -u`:`id -g` pandoc/latex:2.6 MANUAL.md -s -t man > debian/cis-hardening.8'
|
2022-03-01 20:39:39 +01:00
|
|
|
- uses: EndBug/add-and-commit@v8.0.2
|
2021-01-15 16:31:16 +01:00
|
|
|
with:
|
|
|
|
add: 'debian/cis-hardening.8'
|
|
|
|
message: 'Regenerate man pages (Github action)'
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|