Skip to content

Commit

Permalink
fix: do not pass --alias and --prod together
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode authored and jsmrcaga committed Feb 10, 2021
1 parent 67090b0 commit 2c0108a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ COMMAND="netlify deploy --dir=$BUILD_DIRECTORY --functions=$FUNCTIONS_DIRECTORY
if [[ $NETLIFY_DEPLOY_TO_PROD == "true" ]]
then
COMMAND+=" --prod"
fi

if [[ -n $DEPLOY_ALIAS ]]
elif [[ -n $DEPLOY_ALIAS ]]
then
COMMAND+=" --alias $DEPLOY_ALIAS"
fi
Expand Down

0 comments on commit 2c0108a

Please sign in to comment.