From 5cfaee20e58134a7b87a20cf02ae64e4972ba7c0 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Wed, 4 Sep 2019 22:15:27 +0000 Subject: [PATCH] refactor: update proxy for non-interactive mode and help links --- entrypoint.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index da0b554b..b7fce81c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,9 +3,13 @@ set -e if [ -n "$EXPO_CLI_USERNAME" ] && [ -n "$EXPO_CLI_PASSWORD" ]; then - expo login --username $EXPO_CLI_USERNAME + expo-cli login --non-interactive --username $EXPO_CLI_USERNAME else - echo 'Skipping Expo login, username and/or password not defined...' + echo '' + echo 'Skipping automatic Expo login, username and/or password not defined.' + echo ' - https://github.com/expo/expo-github-action#used-secrets' + echo ' - https://github.com/expo/expo-github-action#example-workflows' + echo '' fi -sh -c "expo $*" +sh -c "expo-cli $*"