Skip to content

Commit

Permalink
Build to dev on push
Browse files Browse the repository at this point in the history
  • Loading branch information
talmo committed Nov 4, 2024
1 parent d70b1b2 commit a0463d7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ on:
release:
types:
- published
push:
# branches:
# - main
paths:
- "sleap_io/**"
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/docs.yml"

jobs:
docs:
Expand Down Expand Up @@ -34,4 +42,10 @@ jobs:
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
shell: bash -l {0}
run: |
mike deploy --update-aliases --allow-empty --push --verbose "${{ github.event.release.tag_name }}" latest
mike deploy --update-aliases --allow-empty --push --verbose "${{ github.event.release.tag_name }}" latest
- name: Build and upload docs (dev)
if: ${{ github.event_name == 'push' }}
shell: bash -l {0}
run: |
mike deploy --update-aliases --allow-empty --push --verbose dev

0 comments on commit a0463d7

Please sign in to comment.