Skip to content

Commit

Permalink
Use python venv in actions (#769)
Browse files Browse the repository at this point in the history
* Fix pip install

* Update renovate_check-build.yml
  • Loading branch information
MAGICCC authored Oct 16, 2024
1 parent 43f9ce7 commit df4a7bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ jobs:
run: |
sudo apt-get -y update
sudo apt-get -y install python3-pip
python -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
- name: Build site 🔧
run: |
source ./venv/bin/activate
mkdocs build --verbose --clean
- name: Fixing redirects 🚧
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/renovate_check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ jobs:
sudo apt-get -y update
sudo apt-get -y install python3-pip
pip install -r requirements.txt
python -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
- name: Build site 🔧
run: |
source ./venv/bin/activate
mkdocs build --verbose --clean
- name: Fixing redirects 🚧
Expand Down

0 comments on commit df4a7bd

Please sign in to comment.