Merge pull request #24 from metafacture/fixExampleLinks #104
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 html files | |
on: push | |
jobs: | |
generate_html: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get repo | |
uses: actions/checkout@v2 | |
- name: Generate index.html | |
uses: docker://pandoc/core:2.9 | |
with: | |
args: > | |
--output=index.html | |
--include-before-body=navigation.html | |
--css=github-pandoc.css | |
--standalone | |
--title-prefix="Metafacture" | |
index.md | |
- name: Generate installation.html | |
uses: docker://pandoc/core:2.9 | |
with: | |
args: > | |
--output=getting-started.html | |
--include-before-body=navigation.html | |
--css=github-pandoc.css | |
--standalone | |
--title-prefix="Metafacture" | |
getting-started.md | |
- name: Generate ide-extensions/index.html | |
uses: docker://pandoc/core:2.9 | |
with: | |
args: > | |
--output=ide-extensions/index.html | |
--include-before-body=navigation.html | |
--css=../github-pandoc.css | |
--standalone | |
--title-prefix="Metafacture" | |
ide-extensions/index.md | |
- name: Commit html files | |
uses: EndBug/add-and-commit@v5 | |
with: | |
message: "Add newly generated html files by GitHub Actions." | |
add: "index.html getting-started.html ide-extensions/index.html --force" |