Skip to content

Commit

Permalink
Fix MkDocs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Dec 11, 2023
1 parent 2662259 commit 8728b32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
chmod: 0755

- name: 🔨 Install MkDocs Material and mike
run: pip install -r docs/requirements.txt
run: pip install -r requirements.txt

- name: ⚙️ Configure Git user
run: |
Expand All @@ -50,9 +50,9 @@ jobs:
- name: 🚀 Deploy with mike (${{ github.ref_name }}, latest)
if: ${{ github.ref_name != 'master' }}
run: |
mike deploy --rebase --push --update-aliases --config-file docs/mkdocs.yml ${{ github.ref_name }} latest
mike deploy --rebase --push --update-aliases ${{ github.ref_name }} latest
- name: 🚀 Deploy with mike (${{ github.ref_name }})
if: ${{ github.ref_name == 'master' }}
run: |
mike deploy --rebase --push --config-file docs/mkdocs.yml ${{ github.ref_name }}
mike deploy --rebase --push ${{ github.ref_name }}

0 comments on commit 8728b32

Please sign in to comment.