Skip to content

Convert Readme.md to HTML #17

Convert Readme.md to HTML

Convert Readme.md to HTML #17

Workflow file for this run

name: Documentation generator
run-name: Convert Readme.md to HTML
on: [push]
jobs:
Create-HTML:
runs-on: ubuntu-latest
steps:
- run: npm i markdown-to-html-cli -g
- name: Check out repository code
uses: actions/checkout@v4
- run: ls -lart
- run: markdown-to-html --source README.md --output index.html
- run: mkdir temp && mv index.html temp/index.html && ls -lart
- name: Github commit and push
uses: github-actions-x/[email protected]
with:
name: github-actions
email: [email protected]
commit-message: Auto Documentation Generated
push-branch: gh-pages
force-push: true
rebase: true
files: temp/index.html