From 3fde4b618581289dbd486a6338faff388771f133 Mon Sep 17 00:00:00 2001 From: pluja Date: Mon, 19 Feb 2024 09:45:40 +0100 Subject: [PATCH] add deploy to just --- Justfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 599c157..5bdabd0 100644 --- a/Justfile +++ b/Justfile @@ -1,2 +1,6 @@ dev +command: - docker compose -f docker-compose.yml -f docker-compose.dev.yml {{command}} \ No newline at end of file + 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 \ No newline at end of file