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
|
- build-pwa
|
||||||
- name: deploy (production)
|
- name: deploy (production)
|
||||||
image: dockette/vercel
|
image: dockette/vercel
|
||||||
|
environment:
|
||||||
|
VERCEL_TOKEN:
|
||||||
|
from_secret: VERCEL_TOKEN
|
||||||
|
VERCEL_SCOPE:
|
||||||
|
from_secret: VERCEL_SCOPE
|
||||||
commands:
|
commands:
|
||||||
- vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c
|
- vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c
|
||||||
when:
|
when:
|
||||||
|
@ -56,6 +61,11 @@ steps:
|
||||||
- type-check
|
- type-check
|
||||||
- name: deploy (preview)
|
- name: deploy (preview)
|
||||||
image: dockette/vercel
|
image: dockette/vercel
|
||||||
|
environment:
|
||||||
|
VERCEL_TOKEN:
|
||||||
|
from_secret: VERCEL_TOKEN
|
||||||
|
VERCEL_SCOPE:
|
||||||
|
from_secret: VERCEL_SCOPE
|
||||||
commands:
|
commands:
|
||||||
- vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c
|
- vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c
|
||||||
when:
|
when:
|
||||||
|
|
Reference in a new issue