mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 21:47:02 +01:00
18 lines
538 B
YAML
18 lines
538 B
YAML
|
---
|
||
|
name: Compile debian man
|
||
|
on:
|
||
|
- push
|
||
|
jobs:
|
||
|
compile-debian-man:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout repo
|
||
|
uses: actions/checkout@v2
|
||
|
- 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'
|
||
|
- uses: EndBug/add-and-commit@v6
|
||
|
with:
|
||
|
add: 'debian/cis-hardening.8'
|
||
|
message: 'Regenerate man pages (Github action)'
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|