1
Fork 0

Add robots file for staging

This commit is contained in:
Jake Howard 2016-06-13 09:04:21 +01:00
parent 384f5a216f
commit 346b4faa76
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 0 deletions

View file

@ -20,6 +20,7 @@ build: install
npm run build-scss npm run build-scss
@echo ">> Building pelican..." @echo ">> Building pelican..."
$(PELICAN) -o $(OUTPUTDIR) -v $(PELICAN) -o $(OUTPUTDIR) -v
mv $(OUTPUTDIR)/assets/robots.txt $(OUTPUTDIR)
cp -R $(OUTPUTDIR)/assets/* $(OUTPUTDIR)/static cp -R $(OUTPUTDIR)/assets/* $(OUTPUTDIR)/static
rm -rf $(OUTPUTDIR)/assets rm -rf $(OUTPUTDIR)/assets

View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: /