From d361907ba22e15d4f303c45d5f07b2ebde542778 Mon Sep 17 00:00:00 2001 From: "Seraphim R.P" Date: Mon, 30 Jan 2023 14:24:26 -0500 Subject: [PATCH] Add Hugo stuff to gitignore, fix building. --- .build.yml | 4 +++- .gitignore | 13 ++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.build.yml b/.build.yml index 39f0069..bdac0f5 100644 --- a/.build.yml +++ b/.build.yml @@ -2,11 +2,13 @@ image: alpine/edge oauth: pages.sr.ht/PAGES:RW packages: - hut +- hugo environment: site: seraphimrp.srht.site tasks: - package: | cd blog - tar -cvz . > ../site.tar.gz + hugo + tar -C public -cvz . > ../site.tar.gz - upload: | hut pages publish -d $site site.tar.gz diff --git a/.gitignore b/.gitignore index 8bd31f3..202f486 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,15 @@ _site/ .sass-cache/ .jekyll-metadata -Gemfile.lock \ No newline at end of file +Gemfile.lock + +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +hugo.exe +hugo.darwin +hugo.linux + +/.hugo_build.lock