diff options
Diffstat (limited to '')
-rw-r--r-- | .build.yml | 23 | ||||
-rw-r--r-- | robots.txt | 3 |
2 files changed, 15 insertions, 11 deletions
@@ -1,17 +1,18 @@ image: alpine/edge oauth: pages.sr.ht/PAGES:RW packages: -- hut -- nodejs -- npm + - hut + - nodejs + - npm environment: site: mccd.space tasks: -- package: | - cd $site - npm install - npm run build - cd _site - tar -cvz . > ../../site.tar.gz -- upload: | - hut pages publish -d $site site.tar.gz + - package: | + cd $site + npm install + npm run build + cp robots.txt _site/ + cd _site + tar -cvz . > ../../site.tar.gz + - upload: | + hut pages publish -d $site site.tar.gz diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..8bf1a58 --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +User-agent: ChatGPT-User + +Disallow: / |