Skip to content

Instantly share code, notes, and snippets.

@stephlocke
Created December 1, 2020 11:46
Show Gist options
  • Save stephlocke/7eafab0669b6568d423599b89eff9d43 to your computer and use it in GitHub Desktop.
Save stephlocke/7eafab0669b6568d423599b89eff9d43 to your computer and use it in GitHub Desktop.
gh actione xample
name: Generate Word docs
on: push
jobs:
convert_via_pandoc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: convert md to docx
uses: docker://pandoc/latex:2.9
with:
entrypoint: /bin/sh
args: -c "for f in *.md; do pandoc $f -s -o ${f%.md}.rtf; done"
@Steve2955
Copy link

Thank you very much! This saved me after hours of trial&error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment