summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-11 15:05:20 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-11 15:05:20 +0100
commitdaedadec9fd7bab5c23afe68bdca6be5dfbe5ca9 (patch)
treed594761b25a2428e1739bdb61c8761bc438530fa
parent3589a495ea57136200f26e634be9905c17806d17 (diff)
Added build file
-rw-r--r--.build.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..9683c44
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,16 @@
+image: archlinux
+sources:
+ - https://git.sr.ht:~yulqen/twentyfoursoftware.com
+packages:
+ - rsync
+environment:
+ deploy: lemon@joannalemon.com
+secrets:
+ - ff8a0fab-2c22-4afd-9955-ddf4090288d5
+tasks:
+ - deploy: |
+ cd yulqen.org
+ sshopts="ssh -o StrictHostKeyChecking=no -p 2222"
+ rsync -azr --rsh="$sshopts" public/ $deploy:/var/www/twentyfoursoftware.com/ --exclude Makefile --exclude .git --exclude .htaccess --delete
+
+