summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorjacquarg <guillaume.jacquart@hoodbrains.com>2022-02-21 21:15:38 +0100
committerjacquarg <guillaume.jacquart@hoodbrains.com>2022-02-21 21:15:38 +0100
commit9d63c322d2a79c8bd8308997368976a69037149e (patch)
tree196eacef8231fea58703744917a0d56894071684 /.gitlab-ci.yml
parent34232a27ad8a7eafd48a562566480fd298bbaf95 (diff)
Fix CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b61aa3e..063dd65 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -85,16 +85,16 @@ test-debug:
build-full:
stage: build
script:
- - ./gradlew build
+ - ./gradlew assembleDebug assembleRelease
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- - if: '$CI_COMMIT_BRANCH == "master"'
+ - if: '$CI_COMMIT_BRANCH == "main"'
variables:
MAPBOX_KEY: $MAPBOX_KEY_PROD
MAPBOX_SECRET_KEY: $MAPBOX_SECRET_KEY_PROD
when: always
- - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
+ - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
when: always
- when: never
artifacts: