Skip to content

Commit

Permalink
update build for insiders
Browse files Browse the repository at this point in the history
  • Loading branch information
benphelps committed Sep 30, 2023
1 parent 86d3fc4 commit 7a64703
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags: [ 'v*.*.*' ]
branches: ['main']
workflow_dispatch:

permissions:
contents: write

Expand All @@ -26,7 +26,7 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
- run: sudo apt-get install pngquant
- run: sudo apt-get install pngquant
- run: pip install mike
- run: pip install git+https://${GH_TOKEN}@github.com/benphelps/mkdocs-material-insiders.git
- name: Set Git config
Expand All @@ -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 }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 7a64703

Please sign in to comment.