aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-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..83316eb
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,16 @@
+image: alpine/latest
+packages:
+ - rsync
+sources:
+ - https://git.sr.ht/~boringcactus/pig.observer
+secrets:
+ - b5cb9b2b-1461-4486-95e1-886451674a89
+tasks:
+ - upload: |
+ upload-to() {
+ dest=$1
+ shift
+ rsync --rsh="ssh -o StrictHostKeyChecking=no" -rlt8hP --del $@ services@boringcactus.com:$dest
+ }
+ cd pig.observer
+ upload-to /var/www/html/pig.observer/ dist/*