From c40614eec5482fe2149059adbf43a35d62ebb17f Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sat, 13 Jul 2024 13:00:44 -0400 Subject: Include sourcehut build file and update config email --- .build.yml | 23 +++++++++++++++++++++++ _config.yml | 6 +----- 2 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..9fd55cc --- /dev/null +++ b/.build.yml @@ -0,0 +1,23 @@ +image: alpine/latest +oauth: pages.sr.ht/PAGES:RW +packages: +- go +- hut +- ruby-full +- ruby-dev +environment: +site: 1kb.club +sources: +- https://git.sr.ht/~bt/1kb-club +tasks: +- install-bundler: | + sudo gem install bundler +- build: | + 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 diff --git a/_config.yml b/_config.yml index 5873491..6184469 100644 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ url: https://1kb.club # the base hostname & protocol for your site, e.g. http:// author: name: Bradley Taunt - email: brad@bt.ht + email: bt@btxx.org # Collections collections: @@ -27,7 +27,3 @@ exclude: - generate.sh - size.sh - README.md - -include: - - netlify.toml - - ~/ -- cgit v1.2.3-54-g00ecf