diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca14a87e9c5bf9150b0f523c071f729ba7a4a54a..bebaf394eb6231ac391e745dcb43c061d53e3cdf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +before_script: + - rebar3 update + stages: - compile - test @@ -21,7 +24,6 @@ hex_publish: script: - mkdir -p ~/.hex && printf "{key,<<\"$HEX_KEY\">>}.\n{username,<<\"$HEX_USERNAME\">>}.\n" > ~/.hex/hex.config - mkdir -p ~/.config/rebar3 && printf "{plugins, [rebar3_hex]}.\n" > ~/.config/rebar3/rebar.config - - rebar3 update - echo "Y" | rebar3 hex publish aws_publish: