~reykjalin/inner_circle

ref: 98ad3681f3f8f6bdf44da010630c2ee05b57951f inner_circle/.build.yml -rw-r--r-- 777 bytes
98ad3681 — Kristófer R Add daily task to send notifications 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
image: ubuntu/lts
secrets:
  - b2452f2e-0188-49c2-abce-25634fa37505 # sr.ht ssh key
sources:
  - git@git.sr.ht:~reykjalin/inner_circle
artifacts:
  - inner_circle.tar.gz
repositories:
  erlang-solutions: https://packages.erlang-solutions.com/ubuntu focal contrib D208507CA14F4FCA
packages:
  - esl-erlang
  - elixir
tasks:
  - setup: |
      cd inner_circle
      mix local.hex --force
      mix local.rebar --force
      mix deps.get --only prod
      MIX_ENV=prod mix compile
  - build: |
      export LANG="en_US.UTF-8"
      export LC_ALL="en_US.UTF-8"
      cd inner_circle
      MIX_ENV=prod mix assets.deploy
      MIX_ENV=prod mix phx.digest
      MIX_ENV=prod mix release
  - bundle: |
      tar -czvf inner_circle.tar.gz -C inner_circle/_build/prod/rel/ inner_circle