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 10:04:19 +01:00 committed by GitHub
parent b377dfe97c
commit 861644f942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,12 +39,12 @@ jobs:
git config --local user.name "GitHub Action"
- name: mkdocs deploy latest
if: contains(github.ref, "refs/heads/")
if: contains(github.ref, 'refs/heads/')
run: |
mike deploy --push --force --update-aliases latest
- name: mkdocs deploy new release / tag
if: contains(github.ref, "refs/tags/v")
if: contains(github.ref, 'refs/tags/v')
run: |
mike deploy --push --force --update-aliases ${{ github.ref }} latest
mike set-default --force --push latest