Commit 17c613ef authored by Boris Glimcher's avatar Boris Glimcher Committed by Tomasz Zawadzki
Browse files

ci: when syncing gh pages, use python virtual env

the package was installed
```
Successfully installed tabulate-0.9.0
```
but ci was still complaining
```
ModuleNotFoundError: No module named 'tabulate'
```

Also tested this change here:
https://github.com/glimchb/spdk/actions/runs/18007487484/job/51231130370



Change-Id: I73ad0e32eb905fd763523f17772ee84798b526f4
Signed-off-by: default avatarBoris Glimcher <Boris.Glimcher@emc.com>
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26765


Tested-by: default avatarSPDK Automated Test System <spdkbot@gmail.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz@tzawadzki.com>
Reviewed-by: default avatarKonrad Sztyber <ksztyber@nvidia.com>
parent f786c6d7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -27,12 +27,17 @@ jobs:
        path: spdk
    - name: Install dependencies
      run: |
        set -x
        apt-get update
        ./spdk/scripts/pkgdep.sh --docs
    - name: Run doc generation script
      id: vars
      working-directory: pages
      env:
        PIP_VIRTDIR: /var/spdk/dependencies/pip
      run: |
        set -x
        . "$PIP_VIRTDIR/bin/activate"
        ./update-doc.sh
        echo "spdk_sha=$(cat _doc_version.txt)" >> $GITHUB_OUTPUT
    - name: Commit and Push changes