Skip to content

More markdown fixes and improvements #7

More markdown fixes and improvements

More markdown fixes and improvements #7

Workflow file for this run

name: Generate static site
on:
workflow_dispatch:
push:
branches:
- main
# schedule:
# - cron: '0 8 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install markdown2 Pygments
- name: Generate docs
run: python -u generate_docs.py
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'