Add Hugo stuff to gitignore, fix building.

This commit is contained in:
Seraphim R. Pardee 2023-01-30 14:24:26 -05:00
parent 8497f76bf9
commit d361907ba2
2 changed files with 15 additions and 2 deletions

View File

@ -2,11 +2,13 @@ image: alpine/edge
oauth: pages.sr.ht/PAGES:RW oauth: pages.sr.ht/PAGES:RW
packages: packages:
- hut - hut
- hugo
environment: environment:
site: seraphimrp.srht.site site: seraphimrp.srht.site
tasks: tasks:
- package: | - package: |
cd blog cd blog
tar -cvz . > ../site.tar.gz hugo
tar -C public -cvz . > ../site.tar.gz
- upload: | - upload: |
hut pages publish -d $site site.tar.gz hut pages publish -d $site site.tar.gz

13
.gitignore vendored
View File

@ -1,4 +1,15 @@
_site/ _site/
.sass-cache/ .sass-cache/
.jekyll-metadata .jekyll-metadata
Gemfile.lock Gemfile.lock
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
hugo.exe
hugo.darwin
hugo.linux
/.hugo_build.lock