Skip to content

Commit

Permalink
Merge pull request #237 from SamGuay/fix-dev-doc
Browse files Browse the repository at this point in the history
[FIX] - update the alias for dev and latest
  • Loading branch information
arnaudbore authored Jul 17, 2023
2 parents b963db9 + cd40ee5 commit 095b7a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- master
tags:
- '**'
- '[0-9]+.[0-9]+.[0-9]+'
# Allow this workflow manually from the Actions tab
workflow_dispatch:

Expand Down Expand Up @@ -57,10 +57,10 @@ jobs:
- name: Build docs for specific release
if: github.event_name == 'release'
run: |
mike deploy -p ${{ github.ref_name }} latest
mike deploy -p ${{ github.ref_name }} latest -u
- name: Deploy dev version
if: ${{ github.ref == 'refs/heads/master' }}
run: |
VERSION=$(dcm2bids -v | awk '/dcm2bids/ {print $3}')
mike deploy -p $VERSION dev
mike deploy -p $VERSION dev -u

0 comments on commit 095b7a8

Please sign in to comment.