Add node anchor to .drone.yml
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
Partially to remove some repetetetetition, but also so I know they exist.
This commit is contained in:
parent
255a6cf06b
commit
06d15539d3
1 changed files with 2 additions and 6 deletions
|
@ -59,7 +59,7 @@ workspace:
|
|||
steps:
|
||||
- name: deploy (production)
|
||||
image: dockette/vercel
|
||||
environment:
|
||||
environment: &vercel_secrets
|
||||
VERCEL_TOKEN:
|
||||
from_secret: VERCEL_TOKEN
|
||||
VERCEL_SCOPE:
|
||||
|
@ -72,11 +72,7 @@ steps:
|
|||
- main
|
||||
- name: deploy (preview)
|
||||
image: dockette/vercel
|
||||
environment:
|
||||
VERCEL_TOKEN:
|
||||
from_secret: VERCEL_TOKEN
|
||||
VERCEL_SCOPE:
|
||||
from_secret: VERCEL_SCOPE
|
||||
environment: *vercel_secrets
|
||||
commands:
|
||||
- export VERCEL_BUILD_URL=$(vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c)
|
||||
- echo VERCEL_BUILD_URL=$VERCEL_BUILD_URL >> .env
|
||||
|
|
Reference in a new issue