mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-08 05:37:56 -05:00
update justfile deploy adn deploy by default
This commit is contained in:
parent
9d47367bbd
commit
bc1397fc55
3
Justfile
3
Justfile
@ -1,7 +1,10 @@
|
|||||||
|
default: deploy
|
||||||
|
|
||||||
dev +command:
|
dev +command:
|
||||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml {{command}}
|
docker compose -f docker-compose.yml -f docker-compose.dev.yml {{command}}
|
||||||
|
|
||||||
deploy build="":
|
deploy build="":
|
||||||
git pull
|
git pull
|
||||||
docker compose up {{ if build != "" { "--build" } else { "" } }} --pull=always -d
|
docker compose up {{ if build != "" { "--build" } else { "" } }} --pull=always -d
|
||||||
|
{{if build == ""}}docker compose restart website{{end}}
|
||||||
docker system prune -f
|
docker system prune -f
|
Loading…
Reference in New Issue
Block a user