From 13e60e576731cbed68de293658ab0f9f1d23bfe6 Mon Sep 17 00:00:00 2001 From: Mario Sarcher Date: Fri, 30 Oct 2020 13:20:36 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a29cef3cc2..f68a1c8738 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,12 +24,15 @@ jobs: pip install git+https://${{ secrets.GH_TOKEN }}@github.com/lensapp/mkdocs-material-insiders.git pip install mkdocs-git-revision-date-localized-plugin mike - + - name: git config + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" - name: mkdocs deploy latest if: contains(github.ref, 'refs/heads/') run: | - mike deploy --push --rebase --update-aliases 0.2 latest + mike deploy --push --force --rebase --update-aliases 0.2 latest - name: mkdocs deploy new release / tag if: contains(github.ref, 'refs/tags/v')