From efb14ea0a95c0154114ee378f3383c26c23e3098 Mon Sep 17 00:00:00 2001 From: Thibault Ayanides Date: Fri, 15 Jan 2021 16:31:16 +0100 Subject: [PATCH] Add compile manual github action --- .github/workflows/compile-manual.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/compile-manual.yml diff --git a/.github/workflows/compile-manual.yml b/.github/workflows/compile-manual.yml new file mode 100644 index 0000000..eed7d5b --- /dev/null +++ b/.github/workflows/compile-manual.yml @@ -0,0 +1,17 @@ +--- +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 }}