diff .build.yml @ 78:5fdf5f346b92

*: use jekyll for templates, blogging, etc. I changed the pages to now use templates, so adding new stuff should be much much easier in the future
author Paper <paper@paper.us.eu.org>
date Mon, 20 May 2024 02:49:07 -0400
parents 008e41cbef1b
children 815c0da68384
line wrap: on
line diff
--- a/.build.yml	Wed May 08 17:42:11 2024 -0400
+++ b/.build.yml	Mon May 20 02:49:07 2024 -0400
@@ -2,11 +2,15 @@
 oauth: pages.sr.ht/PAGES:RW
 packages:
 - hut
+- ruby-json
+- ruby-jekyll
+- ruby-bundler
 environment:
   site: paper.us.eu.org
 tasks:
 - package: |
     cd web
-    tar -cvz * > ../site.tar.gz
+    bundle exec jekyll build
+    tar -C _site -cvz . > ../site.tar.gz
 - upload: |
     hut pages publish -d $site site.tar.gz
\ No newline at end of file