Skip to content

Commit

Permalink
Merge branch 'main' of github.com:poldracklab/poldracklab-base
Browse files Browse the repository at this point in the history
  • Loading branch information
poldrack committed Dec 30, 2024
2 parents d3e97e6 + 40a096b commit 94a1c5e
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,23 @@ jobs:

- name: Install the module
run: uv pip install .

# ADJUST THIS: build your documentation into docs/.
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
- run: pdoc --html -o docs/

- name: build docs
run: uv run pdoc3 --html -o docs/ src/poldracklab

- uses: actions/upload-pages-artifact@v3
with:
path: docs/

# Deploy the artifact to GitHub pages.
# This is a separate job so that only actions/deploy-pages has the necessary permissions.

deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 94a1c5e

Please sign in to comment.