Update main.yml

This commit is contained in:
Mario Sarcher authored and GitHub committed 2020-10-30 13:20:36 +01:00
1 parent 4162b9c9fb
commit 13e60e5767
1 file changed
+5 -2
+5 -2
View File
@@ -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')