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