ha-handler/.build.yml
2022-01-27 09:35:53 +01:00

19 lines
428 B
YAML

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/