diff --git a/.github/workflows/docs-gen-and-push.yaml b/.github/workflows/docs-gen-and-push.yaml index b7f90719497..f9b82e21e16 100644 --- a/.github/workflows/docs-gen-and-push.yaml +++ b/.github/workflows/docs-gen-and-push.yaml @@ -24,9 +24,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: v1.19 + cache: true - uses: actions/setup-python@v4 with: python-version: '3.10' cache: 'pip' - - run: pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-macros-plugin mike + - run: pip install -r requirements.txt - run: make generate-docs deploy-docs LOCAL=1 diff --git a/Makefile b/Makefile index 1544bf95254..a1de6606545 100644 --- a/Makefile +++ b/Makefile @@ -173,7 +173,7 @@ serve-docs: hack/serve-docs.sh LANGUAGE=$(LANGUAGE) .PHONY: deploy-docs -deploy-docs: kcp-docs-img +deploy-docs: kcp-docs-image hack/deploy-docs.sh .PHONY: clean-generated-docs