Drone plugins > Vercel Deploy
Plugin that allows you deploy a site to Vercel.
Example
kind: pipeline
type: docker
name: default
platform:
  os: linux
  arch: amd64
steps:
  - name: deploy
    image: docker.io/kameshsampath/drone-vercel-deploy
    pull: never
    settings:
      log_level: debug
      # valid values are production, development, preview
      vercel_env: production
      vercel_token:
        from_secret: vercel_token
      vercel_org_id:
        from_secret: vercel_org_id
      vercel_project_id:
        from_secret: vercel_project_id
      vercel_project_create: true
      vercel_environment:
        - NEXT_PUBLIC_FOO=BAR
        - NEXT_PUBLIC_XMAS=25 Dec
Properties
- vercel_envstringrequired- The vercel environment to deploy. It could be one of development, preview or production. - Default: development 
- vercel_tokenstringrequired- The Vercel Token to use. Secret recommended- Default: none 
- vercel_org_idstringrequired- The Vercel organization to which the site project is associated. Secret recommended- Default: none 
- vercel_project_idstringrequired- The Vercel Project where the site will be deployed. It could be name or id of existing project or the project that will be created. Secret recommended- Default: none 
- vercel_project_createbooleanoptional- Flag to indicate if the project need to be created - Default: true 
- vercel_environment_variablesobjectoptional- An array of KEY=VALUE pair of environment variables will be added to site project at vercel_environment scope. - Default: none 
- vercel_environment_variable_filestringoptional- An environment variable file, with each line being a KEY=VALUE pairs. - Default: none 
- log_levelstringoptional- Log level that will be used while debugging the plugin - Default: none