Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TouHou.FM
Client
fm.touhou.touhoufm
Commits
7894ce7c
Verified
Commit
7894ce7c
authored
Sep 13, 2020
by
Daniel Sonck
Browse files
Specify stages and fix deploy rule
parent
bff9d962
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7894ce7c
...
...
@@ -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
==
"develop
ment
"'
when
:
always
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment