1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-14 13:04:26 -04:00

enableGitInfo messed up sitemap.xml timestamps and google SERPs

This commit is contained in:
2019-06-21 10:47:27 -04:00
parent 7b62adcf7c
commit 4afd229528
4 changed files with 3 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ deploy:
script:
# build site
- rm -rf public
- hugo --gc --enableGitInfo
- hugo --gc
# upload all files
- aws s3 sync ./public s3://$S3_BUCKET_NAME --delete --region us-east-1 --cache-control "max-age=3600, public" --metadata-directive "REPLACE"