summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <a.kiryukhin@mail.ru>2019-06-10 03:17:17 +0300
committerAlexander NeonXP Kiryukhin <a.kiryukhin@mail.ru>2019-06-10 03:17:17 +0300
commitb7810c3d6c0164def328c60244bfbd20d7935bc3 (patch)
tree502d573da27f9ae8b4eaba9d74500f546ef5bd04
parent06645cdac4184f5c1cf50f2a4b94be3d72d634f0 (diff)
parenta176cd9a4494542f7cc1d1468f079b1e27589d02 (diff)
Merge
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..88187d3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+image: node:latest
+
+variables:
+ DOCKER_DRIVER: overlay
+
+stages:
+ - publish
+
+publish-develop:
+ stage: publish
+ script:
+ - apt-get install git
+ - npm install
+ - npm install --save-dev expo-cli
+ - npx expo login -u $EXPO_USERNAME -p $EXPO_PASSWORD
+ - npx expo publish --release-channel develop --non-interactive
+ only:
+ - develop
+
+publish-master:
+ stage: publish
+ script:
+ - apt-get install git
+ - npm install
+ - npm install --save-dev expo-cli
+ - npx expo login -u $EXPO_USERNAME -p $EXPO_PASSWORD
+ - npx expo publish --non-interactive
+ only:
+ - master \ No newline at end of file