From 210053b151d6595588f801830e713fec470428f2 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 14 Aug 2023 23:23:57 -0400 Subject: [PATCH] fix(ci): deploy examples (#54024) Deploy all examples for each release (canary or stable, but not PRs). Right now we only have one example that we deploy so we don't need to determine which ones changed. --- scripts/deploy-examples.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/deploy-examples.sh b/scripts/deploy-examples.sh index 43ae335936..d5a044fda4 100755 --- a/scripts/deploy-examples.sh +++ b/scripts/deploy-examples.sh @@ -1,7 +1,10 @@ #!/usr/bin/env bash set -euo pipefail -CHANGED_EXAMPLES=$(node scripts/run-for-change.js --type deploy-examples --listChangedDirectories) +#CHANGED_EXAMPLES=$(node scripts/run-for-change.js --type deploy-examples --listChangedDirectories) +##### TODO: fix the script above so it can work for stable releases which reach back multiple commits +CHANGED_EXAMPLES="examples/image-component" # always deploy as a workaround + PROD="" if [ "$DEPLOY_ENVIRONMENT" = "production" ]; then PROD="--prod"