Skip to content

Commit 5cfaee2

Browse files
committed
refactor: update proxy for non-interactive mode and help links
1 parent 81344e4 commit 5cfaee2

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

entrypoint.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
set -e
44

55
if [ -n "$EXPO_CLI_USERNAME" ] && [ -n "$EXPO_CLI_PASSWORD" ]; then
6-
expo login --username $EXPO_CLI_USERNAME
6+
expo-cli login --non-interactive --username $EXPO_CLI_USERNAME
77
else
8-
echo 'Skipping Expo login, username and/or password not defined...'
8+
echo ''
9+
echo 'Skipping automatic Expo login, username and/or password not defined.'
10+
echo ' - https://github.com/expo/expo-github-action#used-secrets'
11+
echo ' - https://github.com/expo/expo-github-action#example-workflows'
12+
echo ''
913
fi
1014

11-
sh -c "expo $*"
15+
sh -c "expo-cli $*"

0 commit comments

Comments
 (0)