Skip to content

Commit

Permalink
refactor: update proxy for non-interactive mode and help links
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Sep 29, 2019
1 parent 81344e4 commit 5cfaee2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $*"

0 comments on commit 5cfaee2

Please sign in to comment.