From e0c9400ff3657269fce49944019cd7e0bafe834d Mon Sep 17 00:00:00 2001 From: Oreoluwa Agunbiade Date: Tue, 21 Mar 2023 16:18:41 -0600 Subject: [PATCH] Install optional dependencies in stage and prod --- scripts/push-to-s3-prod.sh | 2 +- scripts/push-to-s3-stage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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