Skip to content

Commit

Permalink
fix ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kamijin-fanta committed Jan 30, 2020
1 parent b85e5eb commit a07467c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
(cd packages/webpack4-test/ && yarn test)
(cd packages/ts-test/ && SKIP_PREFLIGHT_CHECK=true yarn build)

if [ -n "$NETLIFY_ACCESS_TOKEN" ]; then
if [ -n "${NETLIFY_ACCESS_TOKEN:-}" ]; then
NETLIFY_AUTH_TOKEN=$NETLIFY_ACCESS_TOKEN yarn netlify deploy --dir ./packages/preview/out --message "$TRAVIS_BRANCH $TRAVIS_COMMIT_MESSAGE";
fi

0 comments on commit a07467c

Please sign in to comment.