Signed-off-by: Gustavo Fernandes de Carvalho <gustavo.carvalho@container-solutions.com>
@@ -4,7 +4,6 @@ on:
push:
branches:
- main
- - feature/docs-versioning
env:
# Common versions
GO_VERSION: '1.17'
@@ -24,4 +24,6 @@ RUN apk add -U --no-cache \
bash \
gcc \
diffutils \
- && pip3 install -r /requirements.txt
+ && pip3 install -r /requirements.txt \
+ && git config --global user.email "docs@external-secrets.io" \
+ && git config --global user.name "Docs"
@@ -53,7 +53,7 @@ build: image generate $(SOURCES)
--rm \
--user $(UID):$(GID) \
$(MKDOCS_IMAGE) \
- /bin/bash -c "cd /repo && git config user.name "Docs" && git config user.email "docs@external-secrets.io" && $(MIKE) deploy --update-aliases -F hack/api-docs/mkdocs.yml $(DOCS_VERSION) $(DOCS_ALIAS);"
+ /bin/bash -c "cd /repo && $(MIKE) deploy --update-aliases -F hack/api-docs/mkdocs.yml $(DOCS_VERSION) $(DOCS_ALIAS);"
.PHONY: build.publish
build.publish: image generate $(SOURCES)