Skip to content

Commit

Permalink
chore: update deploy-docs.yml to activate virtual environment before …
Browse files Browse the repository at this point in the history
…building and deploying docs
  • Loading branch information
jhonylucas74 committed Jul 12, 2024
1 parent 8774398 commit 74e3c2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
branches:
- main
- master
paths:
- docs/**
jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -26,6 +24,9 @@ jobs:
working-directory: ./python-package
run: poetry install

- name: Activate virtual environment
run: source $(poetry env info --path)/bin/activate

- name: Build and deploy docs
working-directory: ./docs
run: python -m mkdocs gh-deploy --force
Expand Down

0 comments on commit 74e3c2f

Please sign in to comment.