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:
parent
4162b9c9fb
commit
13e60e5767
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -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')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user