Merge pull request #292 from CAVEconnectome/skeletons_v4 #130
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: dev docs | |
on: | |
# run this workflow when dev checks pass | |
push: | |
branches: | |
- master | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# This workflow contains a single job called "docs" | |
docs: | |
name: Build and deploy (dev) docs | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.11"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Get repo | |
uses: actions/checkout@v4 | |
- name: Get gh-pages branch | |
run: git fetch origin gh-pages --depth=1 | |
- name: Configure git for github-actions[bot] | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
- name: Install the latest version of uv | |
id: setup-uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
version: "0.5.2" | |
- name: Set up Python | |
run: uv sync --python ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: uvx --from poethepoet poe doc-push |