aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-13 13:00:44 -0400
committerBradley Taunt <bt@btxx.org>2024-07-13 13:00:44 -0400
commitc40614eec5482fe2149059adbf43a35d62ebb17f (patch)
tree0b39380620f371cc1dbc5beebec6fea21c9a5b3f
parent68f65deb0c6641f3dd5c54b37b5de05e8002b775 (diff)
Include sourcehut build file and update config email
-rw-r--r--.build.yml23
-rw-r--r--_config.yml6
2 files changed, 24 insertions, 5 deletions
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
- - ~/