From 03a091e74134a074e05562891a396eeaf5523ddc Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Thu, 19 May 2022 14:05:18 -0600 Subject: [PATCH] ci: fix the doc build generation script The doc build generation script is failing to install the needed dependencies for mkddocs. Signed-off-by: Travis Nielsen --- .github/workflows/push-build.yaml | 7 ++++++- build/release/Makefile | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-build.yaml b/.github/workflows/push-build.yaml index 903bec59e..438fb3554 100644 --- a/.github/workflows/push-build.yaml +++ b/.github/workflows/push-build.yaml @@ -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 }} diff --git a/build/release/Makefile b/build/release/Makefile index c863b87d3..cba4cc64f 100644 --- a/build/release/Makefile +++ b/build/release/Makefile @@ -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