Skip to content

Commit

Permalink
master branch instead of main branch ...
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0olo committed Sep 12, 2023
1 parent d515cd8 commit dbdde7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion development/ui/vercel-build-command.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [[ $VERCEL_GIT_COMMIT_REF == "main" ]] ; then
if [[ $VERCEL_GIT_COMMIT_REF == "master" ]] ; then
echo "Production build (Mainnet)"
yarn build:mainnet
else # should be develop branch
Expand Down
2 changes: 1 addition & 1 deletion development/ui/vercel-ignore-branches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"

if [[ "$VERCEL_GIT_COMMIT_REF" == "develop" || "$VERCEL_GIT_COMMIT_REF" == "main" ]] ; then
if [[ "$VERCEL_GIT_COMMIT_REF" == "develop" || "$VERCEL_GIT_COMMIT_REF" == "master" ]] ; then
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;
Expand Down

0 comments on commit dbdde7f

Please sign in to comment.