feat: Exclusion des robots pour staging

fixes #2
This commit is contained in:
2020-11-24 14:15:37 +01:00
parent fe8051848b
commit 1d59996608
2 changed files with 2 additions and 1 deletions

1
run
View File

@ -39,6 +39,7 @@ staging() {
rm -rf public
hugo --minify --environment staging
node themes/hugo-theme-lowtech/scripts/typo
cp themes/hugo-theme-lowtech/robots.txt public
#DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} +
docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate
}