Math in blockquote no worky #61
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: "Update the Table of Contents" | |
on: [push] | |
env: | |
FILE: IPA-End-to-End.md | |
jobs: | |
setup: | |
name: "Update TOC" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Update Table of Contents" | |
run: | | |
t=$(mktemp) | |
python3 toc.py "$FILE" > "$t" | |
if ! diff -q "$FILE" "$t" 2>/dev/null; then | |
mv "$t" "$FILE" | |
git -c user.name="ToC Bot" -c user.email="[email protected]" commit -m "Update ToC" "$FILE" | |
fi | |
- name: "Push Changes" | |
if: ${{ github.ref_type == 'branch' }} | |
run: | | |
git push origin "${{ github.ref }}" |