Unverified Commit 210053b1 authored by Steven's avatar Steven Committed by GitHub

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.
parent 88b8d15f
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail 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="" PROD=""
if [ "$DEPLOY_ENVIRONMENT" = "production" ]; then if [ "$DEPLOY_ENVIRONMENT" = "production" ]; then
PROD="--prod" PROD="--prod"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment