28 lines
791 B
YAML
28 lines
791 B
YAML
name: Convert markdown to Word
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
convert_via_pandoc:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.event.push.head.ref }}
|
|
- 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 remote.origin.url 'https://${{secrets.GITHUB_TOKEN}}@github.com/potatoqualitee/froopyland-dr.git'
|
|
git config user.name potatoqualitee
|
|
git config user.email clemaire@gmail.com
|
|
git add .
|
|
git commit -am "update word"
|
|
git push
|