From 7374a7bc30b20314d63852c7eee2522dee89b7f6 Mon Sep 17 00:00:00 2001 From: NeethuES Date: Tue, 20 Feb 2024 16:32:35 -0700 Subject: [PATCH] fix: gh-actions for doc versioning (#504) * fix: gh-actions for doc versioning Signed-off-by: Neethu Elizabeth Simon --------- Signed-off-by: Neethu Elizabeth Simon --- .github/workflows/gh-pages.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3ac99373..f50706c7 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -6,6 +6,9 @@ on: - main paths: - docs_src/** + # pull_request: + # The branches below must be a subset of the branches above + # branches: [ "main" ] jobs: deploy: runs-on: ubuntu-latest @@ -20,5 +23,10 @@ jobs: pip install mkdocs-material pip install mkdocs-swagger-ui-tag pip install mike + - name: Configure Git user + run: | + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" - name: Deploy - run: mkdocs gh-deploy --force --clean --verbose \ No newline at end of file + run: mike deploy latest +