Commit Diff


commit - d7fc5841985d4446c142b473b7a15ef22fce5415
commit + 089b79896770d2284410113c6de87f7c56b9d98d
blob - 1188b24e349dd9a7eee1ca0118b8bad2b9bc38ce
blob + c5c84229a3afd6ef2cc5efb71dc25b0e423f97b8
--- .build.yml
+++ .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