Set environment variables for publish
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Berger 2021-10-14 13:24:57 +02:00
parent 59457a6bce
commit 674aa3726c

View file

@ -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: