Skip to content

Commit

Permalink
test to skip failing gh-pages preview build on vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0olo committed Sep 12, 2023
1 parent dbdde7f commit b75f3ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion development/ui/vercel-build-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
if [[ $VERCEL_GIT_COMMIT_REF == "master" ]] ; then
echo "Production build (Mainnet)"
yarn build:mainnet
else # should be develop branch
elif [[ $VERCEL_GIT_COMMIT_REF == "develop" ]] ; then
echo "Preview Build (Testnet)"
yarn build:testnet
else
echo "Skipping Build"
# do nothing
fi

0 comments on commit b75f3ca

Please sign in to comment.