aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-12-04 11:27:57 -0500
committerBradley Taunt <bt@btxx.org>2024-12-04 11:27:57 -0500
commit1ce599906cd771d2d4231398320d5019fc0a928a (patch)
tree7774213f1d9f5b9c30935e5647d1e24f0c24ca19
parent9bd3012c914c9fd18a9023004beb42428e854343 (diff)
Include initial Debian based build config
-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