From 27bf673eb55f68e55fee666b00d0581e2eab5814 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sat, 30 Dec 2023 10:48:46 -0600 Subject: Add robots txt --- .build.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index 6bbf3f9..46a2d61 100644 --- a/.build.yml +++ b/.build.yml @@ -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 -- cgit v1.2.3