Skip to content

feat: add PyTorch development environment configuration using Docker … #5

feat: add PyTorch development environment configuration using Docker …

feat: add PyTorch development environment configuration using Docker … #5

Workflow file for this run

name: Update Generated Notes
on:
push:
branches:
- main
paths-ignore:
- assets/js/config.js
workflow_dispatch:
permissions:
contents: write
jobs:
update-config:
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Normalize markdown emoji
run: python scripts/emoji4md.py --all
- name: Regenerate config.js
run: python scripts/update_notes.py
- name: Commit generated note updates
shell: bash
run: |
if git diff --quiet; then
echo "Generated note files are already up to date"
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "chore: refresh generated note assets"
git push