From 80fc464e14573594bc0da1e32156fea283a434df Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 9 Nov 2019 12:52:13 +0100 Subject: [PATCH] don't cache feed files --- gatsby-config.js | 4 ++-- scripts/deploy.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index d848f990..37db5fa9 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -215,12 +215,12 @@ module.exports = { minify: true } }, - 'gatsby-plugin-webpack-size', 'gatsby-plugin-react-helmet', 'gatsby-plugin-catch-links', 'gatsby-redirect-from', 'gatsby-plugin-meta-redirect', 'gatsby-plugin-offline', - 'gatsby-plugin-typescript' + 'gatsby-plugin-typescript', + 'gatsby-plugin-webpack-size' ] } diff --git a/scripts/deploy.sh b/scripts/deploy.sh index ac6f4a7a..bbf547b9 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -19,6 +19,8 @@ function s3sync { --exclude "*page-data.json" \ --exclude "chunk-map.json" \ --exclude "sitemap.xml" \ + --exclude "feed.xml" \ + --exclude "feed.json" \ --exclude ".iconstats.json" \ --exclude "humans.txt" \ --exclude "robots.txt" \ @@ -33,6 +35,8 @@ function s3sync { --include "*page-data.json" \ --include "chunk-map.json" \ --include "sitemap.xml" \ + --include "feed.xml" \ + --include "feed.json" \ --include ".iconstats.json" \ --include "humans.txt" \ --include "robots.txt" \