Set environment variables for publish
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
59457a6bce
commit
674aa3726c
1 changed files with 10 additions and 0 deletions
10
.drone.yml
10
.drone.yml
|
@ -45,6 +45,11 @@ steps:
|
|||
- build-pwa
|
||||
- name: deploy (production)
|
||||
image: dockette/vercel
|
||||
environment:
|
||||
VERCEL_TOKEN:
|
||||
from_secret: VERCEL_TOKEN
|
||||
VERCEL_SCOPE:
|
||||
from_secret: VERCEL_SCOPE
|
||||
commands:
|
||||
- vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c
|
||||
when:
|
||||
|
@ -56,6 +61,11 @@ steps:
|
|||
- type-check
|
||||
- name: deploy (preview)
|
||||
image: dockette/vercel
|
||||
environment:
|
||||
VERCEL_TOKEN:
|
||||
from_secret: VERCEL_TOKEN
|
||||
VERCEL_SCOPE:
|
||||
from_secret: VERCEL_SCOPE
|
||||
commands:
|
||||
- vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c
|
||||
when:
|
||||
|
|
Reference in a new issue