Merge pull request #14 from Shekswess/develop #7
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: Deploy Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_n_release: | |
name: Deploy Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Git Config bot | |
run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com' | |
- name: Set up Python | |
run: uv python install | |
- name: Build Documentation | |
run: uv run mkdocs build | |
- name: Deploy Documentation | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: uv run mkdocs gh-deploy |