Skip to content

feat(ci): add pdf and rtf to CI build #5

feat(ci): add pdf and rtf to CI build

feat(ci): add pdf and rtf to CI build #5

Workflow file for this run

name: Pandoc Create ODT
on: push
jobs:
convert_via_pandoc:
if: ${{ !contains(github.event.head_commit.message, '#GHActions') }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: ls -alh ./
- run: rm -f ./CV.odt
- run: rm -f ./CV.alt.pdf
- run: rm -f ./CV.rtf
- uses: docker://pandoc/core:3.1.13
with:
args: >-
--standalone
--from=markdown
--to=odt
--output=CV.odt
./CV.md
- uses: docker://pandoc/core:3.1.13
with:
args: >-
--standalone
--from=markdown
--to=rtf
--output=CV.rtf
./CV.md
- uses: docker://pandoc/latex:3.1.13
with:
args: >-
--standalone
--from=markdown
--to=pdf
--output=CV.alt.pdf
./CV.md
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(ODT): #GHActions - generate ODT File"
commit_user_name: Repo Actions bot
commit_user_email: [email protected]
commit_author: Repo Actions bot <[email protected]>