Skip to content

Commit

Permalink
fix alias update + specific stable tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SamGuay committed Jul 17, 2023
1 parent b963db9 commit cd40ee5
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 cd40ee5

Please sign in to comment.