summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7374aa..8aa5006 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -99,7 +99,11 @@ build-e-release:
variables:
MAPBOX_KEY: $MAPBOX_KEY_PROD
when: always
- - when: never
+ - if: '$CI_COMMIT_REF_PROTECTED == "true"'
+ variables:
+ MAPBOX_KEY: $MAPBOX_KEY_PROD
+ when: manual
+
artifacts:
paths:
- app/build/outputs/apk