Skip to content

Commit

Permalink
fix: Change poetry action (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiewior authored Dec 18, 2024
1 parent 7ff2a4c commit 0d440a4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
tags:
- "*"
workflow_dispatch:
env:
POETRY_VERSION: 1.8.4
jobs:
build:
name: Deploy docs
Expand All @@ -16,12 +14,17 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.12
- uses: abatilo/actions-poetry@v2
- uses: snok/install-poetry@v1
with:
poetry-version: ${{ env.POETRY_VERSION }}
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
- run: poetry lock --no-update && poetry install --no-root
- name: Install polars-bio
run: poetry add polars-bio
run: |
source .venv/bin/activate
pip install polars-bio
- name: Deploy docs
run: poetry run mkdocs gh-deploy --remote-branch gh-pages -f mkdocs.yml --force
env:
Expand Down

0 comments on commit 0d440a4

Please sign in to comment.