Skip to content

Merge pull request #4 from liuzhenqi77/enh #6

Merge pull request #4 from liuzhenqi77/enh

Merge pull request #4 from liuzhenqi77/enh #6

Workflow file for this run

name: neuromaps-mouse-docs
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy_page:
if: github.repository_owner == 'netneurolab'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: 3.13
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme sphinx-gallery
- name: Install neuromaps-mouse
run: |
pip install .
- name: Build the docs
run: |
cd docs && make clean html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/_build/html'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4