Skip to content

Commit

Permalink
fixed a netlify deploy issue for non PR branches
Browse files Browse the repository at this point in the history
Signed-off-by: Onur Sumer <s.onur.sumer@gmail.com>
  • Loading branch information
onursumer committed Jan 2, 2020
1 parent b031bb9 commit 68cf98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/env_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [[ "$CIRCLECI" ]]; then
elif [[ "$NETLIFY" ]]; then
PR_BRANCH=$BRANCH
PR_NUMBER=$REVIEW_ID
if [[ "$PULL_REQUEST" ]]; then
if [ "$PULL_REQUEST" = true ]; then
PR_URL="${REPOSITORY_URL}/pull/${PR_NUMBER}"
fi
fi
Expand Down

0 comments on commit 68cf98a

Please sign in to comment.