fix: Remove cp robots.txt Hugo now create it
This commit is contained in:
parent
608a70bd34
commit
7b2aa4c8e3
1
run
1
run
|
@ -45,7 +45,6 @@ staging() {
|
||||||
rm -rf public
|
rm -rf public
|
||||||
hugo --minify --environment staging
|
hugo --minify --environment staging
|
||||||
node themes/hugo-theme-lowtech/scripts/typo
|
node themes/hugo-theme-lowtech/scripts/typo
|
||||||
cp themes/hugo-theme-lowtech/robots.txt public
|
|
||||||
#DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} +
|
#DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} +
|
||||||
docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate
|
docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue