Fix CI deploy

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-03-18 12:37:04 +01:00
parent be133f0eb6
commit 43cc2309aa
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -3,6 +3,7 @@ image: tcitworld/mobilizon-ci
stages: stages:
- front - front
- back - back
- deploy
variables: variables:
MIX_ENV: "test" MIX_ENV: "test"
@ -75,7 +76,7 @@ elixir_deps:
- deps - deps
doc: doc:
stage: back stage: deploy
before_script: before_script:
- mix deps.get - mix deps.get
script: script:
@ -84,6 +85,8 @@ doc:
cache: cache:
paths: paths:
- deps - deps
only:
- master
artifacts: artifacts:
expire_in: 1 hour expire_in: 1 hour
paths: paths: