aboutsummaryrefslogtreecommitdiffhomepage
path: root/.build.yml
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-12-10 08:20:59 -0500
committerBradley Taunt <bt@btxx.org>2024-12-10 08:20:59 -0500
commit58d14f0ac34df70d22166a262abdcd6ca0e6dc0b (patch)
tree4f68a7ab6654818f2e738a77662309cdab8dc3f7 /.build.yml
parentb8a5ffd13ba712571e995602e02f5d2cfc53a369 (diff)
Include build config, proper setup
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/.build.yml b/.build.yml
index 9fd55cc..ed01b51 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,14 +1,12 @@
-image: alpine/latest
-oauth: pages.sr.ht/PAGES:RW
+image: debian/stable
packages:
-- go
-- hut
- ruby-full
- ruby-dev
-environment:
-site: 1kb.club
+- rsync
sources:
- https://git.sr.ht/~bt/1kb-club
+secrets:
+- 07201d32-1451-4a8f-9bff-ce8b2232c67d
tasks:
- install-bundler: |
sudo gem install bundler
@@ -16,8 +14,6 @@ tasks:
cd 1kb-club
sudo bundle install
sudo bundle exec jekyll build
-- package: |
- cd 1kb-club/_site
- tar -cvz . > ../../site.tar.gz
-- upload: |
- hut pages publish -d 1kb.club site.tar.gz \ No newline at end of file
+- deploy: |
+ cd 1mb-club
+ rsync --rsh="ssh -o StrictHostKeyChecking=no -i ~/.ssh/07201d32-1451-4a8f-9bff-ce8b2232c67d" -rzP _site/ bt@1kb.club:/var/www/1kb.club