Reverts dual-publishing images to Docker Hub for ease of maintenance. #41
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 Markdown TOCs | |
on: | |
push: | |
branches: [master] | |
paths: ["README.md", "DEVELOPMENT.md"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
timeout-minutes: 5 | |
env: | |
GITHUB_MARKDOWN_TOC_VERSION: 0.8.0 # See https://github.com/ekalinin/github-markdown-toc/releases | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
curl https://raw.githubusercontent.com/ekalinin/github-markdown-toc/${GITHUB_MARKDOWN_TOC_VERSION}/gh-md-toc -o gh-md-toc | |
chmod a+x gh-md-toc | |
./gh-md-toc --insert --no-backup --hide-footer README.md DEVELOPMENT.md | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Auto update markdown TOC |