aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-03-04 15:52:51 +0300
committerCem Keylan <cem@ckyln.com>2021-03-04 15:52:51 +0300
commit99527a01e083705deab4093986cfd5817d66e473 (patch)
tree3d8a21c65e476e04c9142c7db74fa54a885178a2
parent7d01962572e033ad68c4a0b4b348df61b30f6c02 (diff)
downloadwebsite-99527a01e083705deab4093986cfd5817d66e473.tar.gz
.build.yml: deploy from sourcehut
-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..58f0cb2
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,16 @@
+image: alpine/edge
+packages:
+ - curl
+ - emacs-nox
+ - texinfo
+ - rsync
+ - openssh-client
+secrets:
+ - 17ae50ca-6991-4c70-b0c6-9f1adb17521b
+tasks:
+ - build: |
+ cd website
+ make
+ - deploy: |
+ sshopt="--rsh=ssh -o StrictHostKeyChecking=no"
+ rsync "$sshopt" -av --delete website/docs/ user-data@carbslinux.org:www/carbslinux.org