Skip to content

Commit 60a3ffc

Browse files
🚀 Upgrade database during deployments (#546)
1 parent d064d92 commit 60a3ffc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

justfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@ logs *args:
4848
pull:
4949
{{ DC }} pull
5050

51-
# Pull and deploy all images
52-
deploy:
51+
# Pull, migrate, and deploy all images
52+
deploy: && pull (db "upgrade") up
5353
-git pull
54-
@just pull
55-
@just up
5654

5755
# Tear down the database, remove the volumes, recreate the database, and populate it with sample data
5856
fresh-start: dotenv

0 commit comments

Comments
 (0)