Merge pull request #10289 from travisn/generate-docs-ci
ci: Install and use pip3 for the docs generation script
This commit is contained in:
2 files changed
+7
-2
No files matched your search
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user