feat: Exclusion des robots pour staging

fixes #2
This commit is contained in:
Simon 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
}

@ -1 +1 @@
Subproject commit d740c03ae509bc625f0c12313d6c9dd9fe1b8e9d
Subproject commit e56e652846f0e64d557b62a1c94fb0a967e33f20