Merge pull request #10289 from travisn/generate-docs-ci

ci: Install and use pip3 for the docs generation script
This commit is contained in:
Travis Nielsen authored and GitHub committed 2022-05-19 14:41:09 -06:00
commit 6a87cb44a2
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -14,7 +14,7 @@ defaults:
jobs:
push-image-to-container-registry:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: github.repository == 'rook/rook'
steps:
- name: checkout
@@ -51,6 +51,11 @@ jobs:
echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
echo "GITHUB_REF"=${GITHUB_REF} >> $GITHUB_ENV
- name: pip install
run: |
sudo apt-get update
sudo apt-get -y install python3-pip
- name: build and release
env:
GIT_API_TOKEN: ${{ secrets.GIT_API_TOKEN }}
+1 -1
View File
@@ -132,7 +132,7 @@ endif
# ====================================================================================
# docs
build.docs:
pip install -r requirements_docs.txt
pip3 install -r requirements_docs.txt
publish.docs:
if ! git remote show docs > /dev/null 2>&1; then git remote add docs $(DOCS_GIT_REPO); fi