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.
This commit is contained in:
parent
88b8d15f41
commit
210053b151
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue