Auto-update structured_md (2026-04-12 13:13:49) #2164
This file contains hidden or 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: Deploy MkDocs site | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: "blog-deploy" | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: pip install mkdocs mkdocs-material pymdown-extensions | |
| - name: Build site | |
| run: mkdocs build | |
| - name: Copy HTML files from bot to site root | |
| run: cp bot/*.* site/ | |
| - name: Create landing folder in site | |
| run: mkdir -p site/landing | |
| - name: Copy landing folder including subdirs | |
| run: cp -r docs/landing/* site/landing/ | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.PAT_TOKEN }} | |
| publish_dir: ./site | |
| force_orphan: true |