trapexit
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
.github/workflows/mkdocs.yml
|
@ -38,8 +38,8 @@ jobs: |
|
|
REF_NAME: ${{ github.ref_name }} |
|
|
REF_NAME: ${{ github.ref_name }} |
|
|
run: | |
|
|
run: | |
|
|
if [ "$REF_TYPE" = "tag" ]; then |
|
|
if [ "$REF_TYPE" = "tag" ]; then |
|
|
mike deploy --push --update-aliases "$REF_NAME" latest |
|
|
|
|
|
mike set-default --push latest |
|
|
|
|
|
|
|
|
mike deploy "$REF_NAME" "latest" --push --allow-empty --ignore-remote-status --update-aliases |
|
|
|
|
|
mike set-default --push "latest" |
|
|
elif [ "$REF_TYPE" = "branch" ] && [ "$REF_NAME" = "master" ]; then |
|
|
elif [ "$REF_TYPE" = "branch" ] && [ "$REF_NAME" = "master" ]; then |
|
|
mike deploy --push master |
|
|
|
|
|
|
|
|
mike deploy master --push --ignore-remote-status --allow-empty |
|
|
fi |
|
|
fi |