X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=.gitlab-ci.yml;h=d0c540b16f7ebcb5fd648ab1a60aa6d962a75098;hb=83a3de8cc4edc6992bbc334cda57de13caa971b0;hp=75214e0b9dcb0d5716f70e6a0cb6e278cc14315a;hpb=6426aefb16a888da76a416f75cf4af1966089d23;p=akkoma diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75214e0b9..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 @@ -143,8 +144,6 @@ stop_review_app: - ssh -t dokku@pleroma.online -- --force apps:destroy "$CI_ENVIRONMENT_SLUG" - ssh -t dokku@pleroma.online -- --force postgres:destroy $(echo $CI_ENVIRONMENT_SLUG | sed -e 's/-/_/g')_db -# TODO: Restrict to master and develop - amd64: stage: release # TODO: Replace with upstream image when 1.9.0 comes out @@ -152,7 +151,6 @@ amd64: only: &release-only - master@pleroma/pleroma - develop@pleroma/pleroma - - feature/ci-release-build@pleroma/pleroma artifacts: &release-artifacts name: "pleroma-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME" paths: @@ -176,6 +174,7 @@ amd64: script: &release - mix deps.get --only prod - mkdir release + - export PLEROMA_BUILD_BRANCH=$CI_COMMIT_REF_NAME - mix release --path release