diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-29 14:25:47 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-29 14:28:26 +0300 |
commit | bdc1592377d19da67040a78faf360770c54d4e6a (patch) | |
tree | 7ad28cb84b002a515649cc222442ec6c4d556417 /.gitlab-ci.yml | |
parent | a8c9522e04c5d687f8985698de864cccdf3d65e1 (diff) | |
download | pleroma-bdc1592377d19da67040a78faf360770c54d4e6a.tar.gz |
Add PLEROMA_BUILD_ENV to override env for the version generator and use it in the CI for building docs
This is needed because if we run with MIX_ENV=dev we will get a "+dev"
suffix to the version in the docs, but if we run with MIX_ENV=prod the
docs build will fail because ex_doc is dev-only dependency.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8711f299..d0c540b16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,6 +35,7 @@ docs-build: - develop@pleroma/pleroma variables: MIX_ENV: dev + PLEROMA_BUILD_ENV: prod script: - mix deps.get - mix compile |