Commit c500fcf3 authored by Thibaud-Vdb's avatar Thibaud-Vdb
Browse files

chore(vercel_deploy): fix wrong default values in doc

parent 69e4526d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
# Changelog
All notable changes to this job will be documented in this file.

## [0.1.2] - 2023-09-19
* Resolve wrong documentation default values of CUSTOM_DOMAIN and VERCEL_ENV_GENERATED_URL

## [0.1.1] - 2023-07-19
* Fix build command behavior for production environment

+2 −2
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ vercel_deploy_prod:
| `VERCEL_ENV`| The deployment environment | `production` |
| `TEAM_SLUG_SCOPE`| ⚠️ Mandatory variable if you have set a `VERCEL_TOKEN` with the `Full account` scope but still want to deploy to a project inside one of your `Vercel Teams`. Defined in `Team Settings > General > Team URL`| ` ` |
| `VERCEL_ENV_GENERATED_URL`             | The [environment generated url](https://vercel.com/docs/concepts/deployments/generated-urls#url-with-vercel-cli) to assign a `custom domain` to it. ⚠️ `$CUSTOM_DOMAIN` must also be set                                                                                                                           | ` `              |
| `CUSTOM_DOMAIN`                 | The custom domain to assign a `$VERCEL_ENV_GENERATED_URL` to it.        ⚠️ `$VERCEL_ENV_GENERATED_URL` must also be set                                                                                                                       | `10.5.0`             |
| `CUSTOM_DOMAIN`                 | The custom domain to assign a `$VERCEL_ENV_GENERATED_URL` to it.        ⚠️ `$VERCEL_ENV_GENERATED_URL` must also be set                                                                                                                       | ` `             |
| `IMAGE_TAG`                           | The default tag for the node docker image                                                                                                          | `16.16.0`          |

## Troubleshooting
+1 −1
Original line number Diff line number Diff line
@@ -6,11 +6,11 @@ stages:
vercel_deploy:
  image: node:${IMAGE_TAG}
  variables:
    IMAGE_TAG: "16.16.0"
    VERCEL_ENV: "production"
    TEAM_SLUG_SCOPE: ""
    VERCEL_ENV_GENERATED_URL: ""
    CUSTOM_DOMAIN: ""
    IMAGE_TAG: "16.16.0"
  stage: deploy
  script:
    - npm install --global vercel