From 9f4baada898f76a5477e95bb51c1325ce2ac47e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Hedenstro=CC=88m?= <erik@hedenstroem.com> Date: Wed, 11 Nov 2015 17:17:57 +0100 Subject: [PATCH] Parallel publishing FTW --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad74548..d0659c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,13 +23,19 @@ test: - rebar3 as test do eunit --cover --dir=test, cover --verbose - coverage.escript _build/test/cover/eunit.coverdata -publish: +hex_publish: stage: publish only: - /^\d+[.]\d+[.]\d+$/ # Only publish HEAD tagged with semantic version script: - rebar3 update - - yes | rebar3 hex publish + - echo "Y" | rebar3 hex publish + +aws_publish: + stage: publish + only: + - /^\d+[.]\d+[.]\d+$/ # Only publish HEAD tagged with semantic version + script: - rebar3 edoc - aws s3 cp doc s3://s3.erlang.ninja/gurka/$CI_BUILD_REF_NAME/ --recursive - rebar3 as production do tar -- GitLab