diff --git a/scripts/push-to-s3-prod.sh b/scripts/push-to-s3-prod.sh index f80e843685..27e899c124 100755 --- a/scripts/push-to-s3-prod.sh +++ b/scripts/push-to-s3-prod.sh @@ -11,6 +11,6 @@ export ALGOLIA_API_KEY="49a495ba4c210780a28feed306d05522" # This is a search onl export CONFIG_POSTHOG_API_KEY="phc_zJYg43ctbPl1BzsnODjop1op9KSsctiGm6DNNt3zHZT" -yarn --ignore-optional && yarn build +yarn && yarn build aws s3 sync build/ s3://docs.gruntwork.io --delete # Delete option ensures deleted files get removed from the bucket diff --git a/scripts/push-to-s3-stage.sh b/scripts/push-to-s3-stage.sh index 1a62f36e7b..a81d3b5fc5 100755 --- a/scripts/push-to-s3-stage.sh +++ b/scripts/push-to-s3-stage.sh @@ -9,6 +9,6 @@ export CONFIG_GOOGLE_ANALYTICS_TRACKING_ID="UA-154792164-2" export ALGOLIA_INDEX_NAME="docs_site_stage" export ALGOLIA_API_KEY="8487ee2b8a8d59dfd7597854d562a38b" # This is a search only key. It is safe to check in. -yarn --ignore-optional && yarn build +yarn && yarn build aws s3 sync build/ s3://docs.dogfood-stage.com --delete # Delete option ensures deleted files get removed from the bucket