|
|
|
@ -41,9 +41,9 @@ jobs:
|
|
|
|
|
git checkout main
|
|
|
|
|
- name: Mike Deploy for Main
|
|
|
|
|
if: github.ref == 'refs/heads/main'
|
|
|
|
|
run: mike deploy --update --push ${{github.ref_name}}
|
|
|
|
|
run: MKINSIDERS=true mike deploy --update --push ${{github.ref_name}}
|
|
|
|
|
- name: Mike Deploy for Tags
|
|
|
|
|
if: github.ref != 'refs/heads/main'
|
|
|
|
|
run: mike deploy --update --push ${{github.ref_name}} latest
|
|
|
|
|
run: MKINSIDERS=true mike deploy --update --push ${{github.ref_name}} latest
|
|
|
|
|
env:
|
|
|
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
|
|
|