summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@mail.ru>2019-05-16 16:06:27 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2019-05-16 16:06:27 +0300
commit9dc3e9d1bf1c7fade0e82c047f382389307fd07b (patch)
tree9ba5648aa8f59ac52836e8ed105ceb50a3e032f0
parent8f76685d1074168c87b0cdefd498413ccd4e722c (diff)
npx try
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 400bdc4..b04e722 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,17 +9,15 @@ stages:
publish-develop:
stage: publish
script:
- - sudo npm install -g expo-cli
- - expo login -u $EXPO_USERNAME -p $EXPO_PASSWORD
- - expo publish --release-channel develop --non-interactive
+ - npx expo-cli login -u $EXPO_USERNAME -p $EXPO_PASSWORD
+ - npx expo-cli publish --release-channel develop --non-interactive
only:
- develop
publish-master:
stage: publish
script:
- - sudo npm install -g expo-cli
- - expo login -u $EXPO_USERNAME -p $EXPO_PASSWORD
- - expo publish --non-interactive
+ - npx expo-cli login -u $EXPO_USERNAME -p $EXPO_PASSWORD
+ - npx expo-cli publish --non-interactive
only:
- master \ No newline at end of file