Skip to content

fix: Prevent page break after heading #9

fix: Prevent page break after heading

fix: Prevent page break after heading #9

Workflow file for this run

name: Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
- name: Checkout branch
uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Dependencies
run: |
python -m pip install --upgrade pip
pip install markdown
- name: Build
run: |
python docs/compile.py
- name: Commit
run: |
git config --global user.email "todd.e.parsons@googlemail.com"
git config --global user.name "Todd Parsons"
git add --all
git commit --all -m "Build"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true