diff options
author | Bradley Taunt <bt@btxx.org> | 2024-12-10 08:20:59 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-12-10 08:20:59 -0500 |
commit | 58d14f0ac34df70d22166a262abdcd6ca0e6dc0b (patch) | |
tree | 4f68a7ab6654818f2e738a77662309cdab8dc3f7 /.build.yml | |
parent | b8a5ffd13ba712571e995602e02f5d2cfc53a369 (diff) |
Include build config, proper setup
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -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 |