update justfile deploy adn deploy by default

This commit is contained in:
pluja 2024-03-04 21:16:05 +01:00
parent 9d47367bbd
commit bc1397fc55

View File

@ -1,7 +1,10 @@
default: deploy
dev +command:
docker compose -f docker-compose.yml -f docker-compose.dev.yml {{command}}
deploy build="":
git pull
docker compose up {{ if build != "" { "--build" } else { "" } }} --pull=always -d
{{if build == ""}}docker compose restart website{{end}}
docker system prune -f