Skip to content

Commit

Permalink
chore: update deploy-docs.yml to activate virtual environment and ins…
Browse files Browse the repository at this point in the history
…tall requirements before building and deploying docs
  • Loading branch information
jhonylucas74 committed Jul 12, 2024
1 parent 5f9b773 commit 9689ae4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ jobs:
cache: poetry
python-version: '3.7'

- name: Install requirements
- name: Install requirements and activate environment
working-directory: ./python-package
run: poetry install

- name: Activate virtual environment
working-directory: ./python-package
run: source $(poetry env info --path)/bin/activate
run: |
poetry install
echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
- name: Build and deploy docs
working-directory: ./docs
Expand Down

0 comments on commit 9689ae4

Please sign in to comment.