aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-15 08:34:57 -0400
committerBradley Taunt <bt@btxx.org>2024-07-15 08:34:57 -0400
commit089b79896770d2284410113c6de87f7c56b9d98d (patch)
treeb893151c5fe945b7eaa888bc1f15ff8a8f3a3484
parentd7fc5841985d4446c142b473b7a15ef22fce5415 (diff)
Test build changes with single task fix to avoid mapping value errors
-rw-r--r--.build.yml26
1 files changed, 12 insertions, 14 deletions
diff --git a/.build.yml b/.build.yml
index 1188b24..c5c8422 100644
--- a/.build.yml
+++ b/.build.yml
@@ -11,17 +11,15 @@ site: 1kb.club
sources:
- https://git.sr.ht/~bt/1kb-club
tasks:
-- name: build-1kb
- steps:
- - |
- if [ "$SRHT_BRANCH" = "deploy" ]; then
- sudo gem install bundler
- cd 1kb-club
- sudo bundle install
- sudo bundle exec jekyll build
- cd 1kb-club/_site
- tar -cvz . > ../../site.tar.gz
- hut pages publish -d 1kb.club site.tar.gz
- else
- echo "Not on deploy branch, skipping build and upload.";
- fi \ No newline at end of file
+- build : |
+ if [ "$SRHT_BRANCH" = "deploy" ]; then
+ sudo gem install bundler
+ cd 1kb-club
+ sudo bundle install
+ sudo bundle exec jekyll build
+ cd 1kb-club/_site
+ tar -cvz . > ../../site.tar.gz
+ hut pages publish -d 1kb.club site.tar.gz
+ else
+ echo "Not on deploy branch, skipping build and upload.";
+ fi \ No newline at end of file