aboutsummaryrefslogtreecommitdiffhomepage
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..223192e
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,19 @@
+image: debian/stable
+packages:
+- ruby-full
+- ruby-dev
+- rsync
+sources:
+- https://git.sr.ht/~bt/1mb-club
+secrets:
+- 07201d32-1451-4a8f-9bff-ce8b2232c67d
+tasks:
+- install-bundler: |
+ sudo gem install bundler
+- build: |
+ cd 1mb-club
+ bundle install
+ bundle exec jekyll build
+- deploy: |
+ cd 1mb-club
+ rsync --rsh="ssh -o StrictHostKeyChecking=no -i ~/.ssh/07201d32-1451-4a8f-9bff-ce8b2232c67d" -rzP _site/ bt@1mb.club:/var/www/1mb.club