Files
wish/.build.yml
Daniel Patterson 3f26bb457e
Some checks reported errors
builds.sr.ht Job failed
Fix deploy and use ci branch for now
2024-01-10 01:02:26 +00:00

27 lines
482 B
YAML

image: debian/stable
packages:
- build-essential
- git
- elixir
- erlang
sources:
- git@git.broccoli.town:dp/wish
tasks:
- setup: |
cd wish
mix local.hex --force
mix local.rebar --force
mix deps.get
- test: |
cd wish
mix test
- deploy: |
if [ $GIT_REF = "refs/heads/ci" ]; then
curl -L https://fly.io/install.sh | sh
cd wish
/root/.fly/flyctl deploy
else
echo "nothing to do"
fi