Merge pull request #189 from American-Soccer-Analysis/163-feature-req… #17
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 GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Set up uv | |
# Install a specific uv version using the installer | |
run: | | |
curl -LsSf https://astral.sh/uv/0.3.4/install.sh | sh | |
uv venv | |
uv pip install --upgrade setuptools wheel | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- run: mkdocs gh-deploy --force |