summaryrefslogtreecommitdiffstats
path: root/update
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-03-10 12:02:35 -0500
committerLuke Smith <luke@lukesmith.xyz>2021-03-10 12:02:35 -0500
commita80dd9575bb0679ebada6a1c810241bc4099b936 (patch)
treef6adabb9f258f27728c453c68017d25d2d46c4e6 /update
downloadbased.cooking-a80dd9575bb0679ebada6a1c810241bc4099b936.tar
based.cooking-a80dd9575bb0679ebada6a1c810241bc4099b936.tar.gz
based.cooking-a80dd9575bb0679ebada6a1c810241bc4099b936.tar.lz
based.cooking-a80dd9575bb0679ebada6a1c810241bc4099b936.tar.xz
based.cooking-a80dd9575bb0679ebada6a1c810241bc4099b936.zip
basic barebones
Diffstat (limited to 'update')
-rwxr-xr-xupdate10
1 files changed, 10 insertions, 0 deletions
diff --git a/update b/update
new file mode 100755
index 000000000..a1706a3ba
--- /dev/null
+++ b/update
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# If you're Luke, add an arg to update the website too.
+
+#rm dest -rf
+#mkdir -p dest
+ssg5 src dest "Based Cooking (https://based.cooking)" "https://based.cooking"
+
+[ -n "$1" ] &&
+ rsync -auvrlP --delete-after ~/.local/src/food/ root@based.cooking:/var/www/cooking