X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=.gitlab-ci.yml;h=f8711f299e032b8ce6b3a6f386e0a1772d388043;hb=f2c03425b0f15b4f633195a7511be05023ba8f48;hp=75214e0b9dcb0d5716f70e6a0cb6e278cc14315a;hpb=6426aefb16a888da76a416f75cf4af1966089d23;p=akkoma diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75214e0b9..f8711f299 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -143,8 +143,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 +150,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 +173,7 @@ amd64: script: &release - mix deps.get --only prod - mkdir release + - export PLEROMA_BUILD_BRANCH=$CI_COMMIT_REF_NAME - mix release --path release