diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 150abb909..5c30f17b7 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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 🚧 diff --git a/.github/workflows/renovate_check-build.yml b/.github/workflows/renovate_check-build.yml index 2d37c19ec..7a71249a7 100644 --- a/.github/workflows/renovate_check-build.yml +++ b/.github/workflows/renovate_check-build.yml @@ -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 🚧