aboutsummaryrefslogtreecommitdiff
path: root/mise.toml
diff options
context:
space:
mode:
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"
+"""