diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 0276dd94a..073fd3638 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -62,19 +62,19 @@ jobs: shell: bash - name: Install sphinx requirements run: | - python3 -m venv _venv - source _venv/bin/activate + python3 -m venv ${GITHUB_WORKSPACE}/_venv + source ${GITHUB_WORKSPACE}/_venv/bin/activate pip3 install -r website/requirements.txt shell: bash - name: Configure run: | - source ../_venv/bin/activate + source ${GITHUB_WORKSPACE}/_venv/bin/activate cmake .. -DBUILD_WEBSITE=ON -DCMAKE_VERBOSE_MAKEFILE=ON working-directory: _build shell: bash - name: Build run: | - source ../_venv/bin/activate + source ${GITHUB_WORKSPACE}/_venv/bin/activate cmake --build . --target website --config Release working-directory: _build shell: bash