docs: badget and deploy docs
This commit is contained in:
parent
8188f71d44
commit
35bdc87d18
2 changed files with 12 additions and 5 deletions
13
README.md
13
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`
|
||||
|
|
4
makefile
4
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue