Skip to content

Building TOC

Building TOC #30

Workflow file for this run

name: Build Table of Contents
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run TOC script
run: python ./build_toc.py
- name: Commit and push
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A
git commit -m "Building TOC" || echo "No changes to commit"
git push origin main --force