Skip to content

Commit

Permalink
Merge pull request #2020 from dearchap/add_venv_1
Browse files Browse the repository at this point in the history
Fix: add venv for each action
  • Loading branch information
dearchap authored Nov 29, 2024
2 parents 5af31b1 + a9e0a33 commit 7b0a353
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,21 @@ jobs:
with:
fetch-depth: 0

- name: Create and activate virtual environment
- name: Create virtual environment
run: |
python -m venv venv
source venv/bin/activate
- run: make ensure-mkdocs
- run: |
source venv/bin/activate
make ensure-mkdocs
env:
FLAGS: --upgrade-pip
- run: make set-mkdocs-remote
env:
MKDOCS_REMOTE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: make deploy-mkdocs
- run: |
source venv/bin/activate
make deploy-mkdocs

0 comments on commit 7b0a353

Please sign in to comment.