29 lines
634 B
YAML
29 lines
634 B
YAML
name: Convert markdown to Word
|
|
on:
|
|
workflow_dispatch:
|
|
# push:
|
|
# branches:
|
|
# - main
|
|
|
|
jobs:
|
|
convert_via_pandoc:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: docker://pandoc/core:2.9
|
|
with:
|
|
args: >- # allows you to break string into multiple lines
|
|
--standalone
|
|
--output=checklist.docx
|
|
checklist.md
|
|
|
|
- name: ⤴ Commit updated version
|
|
run: |
|
|
git config user.name keith
|
|
git config user.email keith@keithsolomon.net
|
|
git add .
|
|
git commit -am "update word"
|
|
git push
|