Skip to content

Commit

Permalink
Clean up entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Feb 22, 2021
1 parent 0e3aa01 commit 3f0afe3
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions entrypoint-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,6 @@ if [ -z "$CYPRESS_API_PATH" ]; then
CYPRESS_API_PATH="$RAZZLE_API_PATH"
fi

if [ -z "$GIT_URL" ]; then
GIT_URL="https://github.com"
fi

if [ -z "$GIT_BRANCH" ]; then
GIT_BRANCH="master"
fi

if [ -z "$GIT_USER" ]; then
GIT_USER="eea"
fi

if [ -z "$GIT_NAME" ]; then
echo "GIT_NAME is required"
exit 1
fi

PACKAGE="$GIT_NAME"
if [ ! -z "$NAMESPACE" ]; then
PACKAGE="$NAMESPACE/$GIT_NAME"
fi

if [[ "$1" == "cypress"* ]]; then
RAZZLE_API_PATH=$RAZZLE_API_PATH yarn start &

Expand Down

0 comments on commit 3f0afe3

Please sign in to comment.