| tweaking build script. - gopherhole - My website source code. | |
| Log | |
| Files | |
| Refs | |
| --- | |
| commit ac81e818c6d8232a0e79850b229e5876166657ef | |
| parent 8c16ddbf89ee6580c014508c92079b5a863a58d0 | |
| Author: Jay Scott <[email protected]> | |
| Date: Tue, 13 Sep 2022 15:13:58 +0100 | |
| tweaking build script. | |
| Diffstat: | |
| M .build.yml | 7 ++++--- | |
| M .gitignore | 1 + | |
| M templates/_default/index.gmi | 2 +- | |
| 3 files changed, 6 insertions(+), 4 deletions(-) | |
| --- | |
| diff --git a/.build.yml b/.build.yml | |
| @@ -11,9 +11,10 @@ tasks: | |
| kiln build | |
| - package: | | |
| cd $site | |
| - tar -C public -cvz . > ../site.tar.gz | |
| + tar -C public --exclude="*.html" -exclude"robots.txt" -cvz . > ../site-gem… | |
| + tar -C public -cvz *.html robots.txt > ../site-html.tar.gz | |
| - upload: | | |
| - hut pages publish -d $site site.tar.gz | |
| + hut pages publish -d $site site-html.tar.gz | |
| acurl -f https://pages.sr.ht/publish/$site \ | |
| - [email protected] \ | |
| + [email protected] \ | |
| -Fprotocol=GEMINI | |
| diff --git a/.gitignore b/.gitignore | |
| @@ -1 +1,2 @@ | |
| public/ | |
| +drafts/ | |
| diff --git a/templates/_default/index.gmi b/templates/_default/index.gmi | |
| @@ -1,6 +1,6 @@ | |
| ``` | |
| - J A Y . S C O T | |
| +J A Y . S C O T | |
| ``` |