Commit 92930392 authored by ThinhNC's avatar ThinhNC

ci: add --archive=tgz to vercel deploy to resolve api-upload-free 5000 file limit

parent dd7c16f8
Pipeline #53766 failed with stage
in 18 seconds
...@@ -27,7 +27,7 @@ deploy_preview: ...@@ -27,7 +27,7 @@ deploy_preview:
script: script:
- vercel pull --yes --environment=preview --token=$VERCEL_TOKEN - vercel pull --yes --environment=preview --token=$VERCEL_TOKEN
- vercel build --token=$VERCEL_TOKEN - vercel build --token=$VERCEL_TOKEN
- vercel deploy --prebuilt --token=$VERCEL_TOKEN - vercel deploy --prebuilt --archive=tgz --token=$VERCEL_TOKEN
variables: variables:
VERCEL_ORG_ID: $VERCEL_ORG_ID VERCEL_ORG_ID: $VERCEL_ORG_ID
VERCEL_PROJECT_ID: $VERCEL_PROJECT_ID VERCEL_PROJECT_ID: $VERCEL_PROJECT_ID
...@@ -52,7 +52,7 @@ deploy_production: ...@@ -52,7 +52,7 @@ deploy_production:
script: script:
- vercel pull --yes --environment=production --token=$VERCEL_TOKEN - vercel pull --yes --environment=production --token=$VERCEL_TOKEN
- vercel build --prod --token=$VERCEL_TOKEN - vercel build --prod --token=$VERCEL_TOKEN
- vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN - vercel deploy --prebuilt --prod --archive=tgz --token=$VERCEL_TOKEN
variables: variables:
VERCEL_ORG_ID: $VERCEL_ORG_ID VERCEL_ORG_ID: $VERCEL_ORG_ID
VERCEL_PROJECT_ID: $VERCEL_PROJECT_ID VERCEL_PROJECT_ID: $VERCEL_PROJECT_ID
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