|
|
|
|
@ -43,12 +43,16 @@ jobs:
|
|
|
|
|
- name: Build and push Mike
|
|
|
|
|
if: ${{ github.event_name == 'push' }}
|
|
|
|
|
run: |
|
|
|
|
|
mike deploy ${{ github.ref_name }} latest --push --update-aliases
|
|
|
|
|
mike deploy ${REF_NAME} latest --push --update-aliases
|
|
|
|
|
env:
|
|
|
|
|
REF_NAME: ${{ github.ref_name }}
|
|
|
|
|
|
|
|
|
|
- name: Build and push Mike - Release
|
|
|
|
|
if: ${{ github.event_name == 'release' }}
|
|
|
|
|
run: |
|
|
|
|
|
mike deploy ${{ github.ref_name }} stable --push --update-aliases
|
|
|
|
|
mike deploy ${REF_NAME} stable --push --update-aliases
|
|
|
|
|
env:
|
|
|
|
|
REF_NAME: ${{ github.ref_name }}
|
|
|
|
|
|
|
|
|
|
- name: Show mike versions
|
|
|
|
|
run: |
|
|
|
|
|
|