diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-12-22 23:29:24 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-12-23 00:03:06 +0100 |
commit | 36a956e62803131f309bebc25219b15c2eddda87 (patch) | |
tree | b4bef4d3eb0faa60777ed6c7d8ee6de71367bb6c | |
parent | c28e8ca4d0d905e7cd5c2b61d1366c6b8808fc61 (diff) |
Deploy using builds.sr.ht
-rw-r--r-- | .build.yml | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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/ |