From 5d093b3a339e6d497d62410df81a4dd8116c70bdaad36d738e175326819a0703 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 9 Nov 2022 00:00:00 +0000 Subject: Create configDir for journal generation This gets rid of the ugly dependency on Python scripts. By using configDir, two different configs can be specified. One for Gemini and one for the Web. This keeps everything separate, tidy, and much more maintainable. --- .build.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index 98ecf89..12c8207 100644 --- a/.build.yml +++ b/.build.yml @@ -6,14 +6,16 @@ packages: environment: site: nicholasjohnson.srht.site tasks: -- generate: | - python3 $site/themes/hugo-theme-nicksphere/scripts/generate.py +- generate_journal: | + cd $site + hugo -e gemini + hugo -e web - package_website: | - cd $site/website - tar -cvz . > ../../site.tar.gz + cd $site/public/website + tar -cvz . > ../../../site.tar.gz - package_capsule: | - cd $site/capsule - tar -cvz . > ../../capsule.tar.gz + cd $site/public/capsule + tar -cvz . > ../../../capsule.tar.gz - upload_website: | hut pages publish -d $site site.tar.gz - upload_capsule: | -- cgit v1.2.3