Initial commit
This commit is contained in:
27
.github/workflows/convert-and-commit.yml
vendored
Normal file
27
.github/workflows/convert-and-commit.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
Reference in New Issue
Block a user