Update README.md #11
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: Build EpiDoc Development Guidelines | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'README.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: teic/teidev-docker:latest | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v2 | |
- name: "Checkout gh-pages branch" | |
uses: actions/checkout@v4 | |
with: | |
ref: gh-pages | |
path: gh-pages | |
- name: "Publish MarkDown" | |
uses: docker://pandoc/core:2.19 | |
with: | |
args: >- | |
--standalone | |
-f gfm | |
-t html | |
--output=gh-pages/index.html | |
README.md | |
- name: "Push to gh-pages branch" | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
repository: gh-pages | |
branch: gh-pages | |
commit_message: "Published README." | |