Verified Commit 7894ce7c authored by Daniel Sonck's avatar Daniel Sonck
Browse files

Specify stages and fix deploy rule

parent bff9d962
......@@ -5,18 +5,24 @@ cache:
- app/build
- changelog/build
stages:
- build
- deploy
build:
stage: build
script:
- cp $APP_RELEASE_GRADLE app/release.gradle
- cp $LOCAL_PROPERTIES local.properties
- ./generate-version.sh
- ./gradlew :app:bundle
deploy:
stage: deploy
script:
- cp $KEYS_JSON app/keys.json
- ./gradlew publishReleaseBundle --track internal
after_script:
- rm -rf app/keys.json
rules:
- if: '$CI_COMMIT_BRANCH == "develop"'
- if: '$CI_COMMIT_BRANCH == "development"'
when: always
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment