Skip to content

Bump actions/checkout from 6 to 7 (#301) #328

Bump actions/checkout from 6 to 7 (#301)

Bump actions/checkout from 6 to 7 (#301) #328

Workflow file for this run

name: Publish exercises to directory
on:
push:
branches: [main]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Generate exercise-directory.md
run: |
uv run python scripts/create-exercise-directory.py
mv exercise-directory.md index.md
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./
enable_jekyll: true