Created
December 1, 2020 11:46
-
-
Save stephlocke/7eafab0669b6568d423599b89eff9d43 to your computer and use it in GitHub Desktop.
gh actione xample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much! This saved me after hours of trial&error.