summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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