Skip to content

Commit a6e5cdf

Browse files
ci: add explicit build-deploy step for drive-integration
drive-integration is a private lerna package and is excluded from lerna's --since scoping, so its deploy script was never called by CI. Add a dedicated step in build-deploy-prod that builds the frontend with the correct Vite env vars and runs upload:app-prod + deploy:sync-prod directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c272530 commit a6e5cdf

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,19 @@ jobs:
190190
VITE_LD_CLIENT_ID='588a047044b03e0b3211298e' \
191191
GOOGLE_DOCS_PROD_CLOUDFRONT_DIST_ID=$GOOGLE_DOCS_PROD_CLOUDFRONT_DIST_ID \
192192
STAGE='prd' npm run deploy
193+
- run:
194+
name: Build and deploy drive-integration to prod
195+
command: |
196+
cd apps/drive-integration
197+
VITE_GOOGLE_PICKER_API_KEY=$VITE_GOOGLE_PICKER_API_KEY \
198+
VITE_GOOGLE_APP_ID=$VITE_GOOGLE_APP_ID \
199+
VITE_LD_CLIENT_ID='588a047044b03e0b3211298e' \
200+
NODE_ENV='production' \
201+
npm run build:frontend
202+
STATIC_S3_BASE="s3://cf-apps-static/apps" \
203+
GOOGLE_DOCS_PROD_CLOUDFRONT_DIST_ID=$GOOGLE_DOCS_PROD_CLOUDFRONT_DIST_ID \
204+
npm run deploy:sync-prod
205+
npm run upload:app-prod
193206
- run:
194207
name: Post Deploy
195208
command: npm run post-deploy

0 commit comments

Comments
 (0)