image: alpine/latest packages: - elixir artifacts: - ha-handler/_build/prod/rel/ha-handler.tar.gz sources: - https://code.recycled.cloud/RecycledCloud/ha-handler.git tasks: - setup: | cd ha-handler mix local.hex --force mix local.rebar --force mix deps.get - release: | cd ha-handler MIX_ENV=prod mix compile MIX_ENV=prod mix release cd _build/prod/rel tar cvzf ha-handler.tar.gz ha_handler/