aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-12-22 23:29:24 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-12-23 00:03:06 +0100
commit36a956e62803131f309bebc25219b15c2eddda87 (patch)
treeb4bef4d3eb0faa60777ed6c7d8ee6de71367bb6c
parentc28e8ca4d0d905e7cd5c2b61d1366c6b8808fc61 (diff)
Deploy using builds.sr.ht
-rw-r--r--.build.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index da082cb..ffaa85a 100644
--- a/.build.yml
+++ b/.build.yml
@@ -3,7 +3,18 @@ packages:
- jekyll
sources:
- https://git.sr.ht/~nloomans/noahloomans.com
+environment:
+ deploy: root@noahloomans.com
+secrets:
+ - a453c7e5-f773-4343-9fe3-ba3bf58492a3
tasks:
- build: |
cd noahloomans.com
- jekyll build -d dist
+ jekyll build
+ - deploy: |
+ rsync \
+ --rsh='ssh -o StrictHostKeyChecking=no' \
+ --delete \
+ --recursive \
+ --progress \
+ noahloomans.com/_site/. $deploy:/var/www/noahloomans.com/html/