aboutsummaryrefslogtreecommitdiff
path: root/mise.toml
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-07-29 15:22:33 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-07-29 15:22:33 +0200
commit11fe0bb7bb41e453ea293b6512a9629f64892e58 (patch)
tree81a0764ce2161919809140530e93bde74598a518 /mise.toml
parent1fa140aa5b41b026fac16cebb7342bab4a388d6b (diff)
build: add mise deploy task
Diffstat (limited to 'mise.toml')
-rw-r--r--mise.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/mise.toml b/mise.toml
new file mode 100644
index 0000000..58c7907
--- /dev/null
+++ b/mise.toml
@@ -0,0 +1,7 @@
+[tasks.deploy]
+description = "Build image, push to remote, and restart container"
+run = """
+docker build -t home-sveltekit . && \
+docker save home-sveltekit | gzip | pv | ssh ubuntu@feed.kagamino.dev "gunzip | sudo docker load" && \
+ssh ubuntu@feed.kagamino.dev "sudo docker compose up -d home"
+"""