1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Update main.yml

This commit is contained in:
Mario Sarcher 2020-10-30 13:20:36 +01:00 committed by GitHub
parent 4162b9c9fb
commit 13e60e5767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,12 +24,15 @@ jobs:
pip install git+https://${{ secrets.GH_TOKEN }}@github.com/lensapp/mkdocs-material-insiders.git pip install git+https://${{ secrets.GH_TOKEN }}@github.com/lensapp/mkdocs-material-insiders.git
pip install mkdocs-git-revision-date-localized-plugin mike 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 - name: mkdocs deploy latest
if: contains(github.ref, 'refs/heads/') if: contains(github.ref, 'refs/heads/')
run: | 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 - name: mkdocs deploy new release / tag
if: contains(github.ref, 'refs/tags/v') if: contains(github.ref, 'refs/tags/v')