From 58d14f0ac34df70d22166a262abdcd6ca0e6dc0b Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Tue, 10 Dec 2024 08:20:59 -0500 Subject: Include build config, proper setup --- .build.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to '.build.yml') 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 -- cgit v1.2.3-70-g09d2