Skip to content

Commit

Permalink
Autodetect Studio branch fix for 'main' branch (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreadatour authored Aug 8, 2024
1 parent 3cb59bf commit 77662ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
STUDIO_READ_ACCESS_TOKEN: ${{ secrets.ITERATIVE_STUDIO_READ_ACCESS_TOKEN }}
run: |
echo "DataChain branch: $BRANCH"
if $BRANCH == 'main'
if [[ "$BRANCH" == "main" ]]
then
STUDIO_BRANCH=develop
elif git ls-remote --heads https://"$STUDIO_READ_ACCESS_TOKEN"@github.com/iterative/studio.git "$BRANCH" | grep -F "$BRANCH" 2>&1>/dev/null
Expand Down

0 comments on commit 77662ff

Please sign in to comment.