Fix CI deploy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
a0d9235728
commit
7618c50a2b
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user