diff --git a/README.md b/README.md index 8427697..2887543 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,17 @@ # recipes +[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/recipes/status.svg?ref=refs/heads/main)](https://build.coopcloud.tech/coop-cloud/recipes) + > [apps.coopcloud.tech](https://apps.coopcloud.tech) The recipe catalogue for [Co-op Cloud](https://coopcloud.tech). -## Deploy +## Automatic deploy -- `make generate` -- `make deploy` +Each commit to this repo is deployed to +[apps.coopcloud.tech](https://apps.coopcloud.tech). Commits can be sent by +running `abra catalogue generate --commit --push`. + +## Manual deploy + +`make` diff --git a/makefile b/makefile index c19f70d..73d7ce1 100644 --- a/makefile +++ b/makefile @@ -3,9 +3,9 @@ STACK := recipes_coopcloud_tech default: deploy generate: - abra catalogue generate && cp ~/.abra/apps.json recipes.json + abra catalogue generate -deploy: +deploy: generate @DOCKER_CONTEXT=swarm.autonomic.zone docker stack rm $(STACK) && \ DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml $(STACK)