aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-30 10:48:46 -0600
committerMarc Coquand <marc@mccd.space>2023-12-30 10:48:46 -0600
commit27bf673eb55f68e55fee666b00d0581e2eab5814 (patch)
tree65ad42bed9f25d94b0d6259a9757bd55b1da6106 /.build.yml
parent61790837c2a3585f49ceeaf8d64824574a489f63 (diff)
downloadmccd.space-27bf673eb55f68e55fee666b00d0581e2eab5814.tar.gz
mccd.space-27bf673eb55f68e55fee666b00d0581e2eab5814.tar.bz2
mccd.space-27bf673eb55f68e55fee666b00d0581e2eab5814.zip
Add robots txt
Diffstat (limited to '')
-rw-r--r--.build.yml23
1 files changed, 12 insertions, 11 deletions
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