Commit baebdbef authored by ThinhNC's avatar ThinhNC

Merge develop into staging: add --archive=tgz to vercel deploy

parents 5386f103 8a85667a
Pipeline #53768 passed with stage
in 1 minute and 13 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