Compare commits
1 commit
notif-test
...
main
Author | SHA1 | Date | |
---|---|---|---|
06d15539d3 |
1 changed files with 2 additions and 6 deletions
|
@ -59,7 +59,7 @@ workspace:
|
||||||
steps:
|
steps:
|
||||||
- name: deploy (production)
|
- name: deploy (production)
|
||||||
image: dockette/vercel
|
image: dockette/vercel
|
||||||
environment:
|
environment: &vercel_secrets
|
||||||
VERCEL_TOKEN:
|
VERCEL_TOKEN:
|
||||||
from_secret: VERCEL_TOKEN
|
from_secret: VERCEL_TOKEN
|
||||||
VERCEL_SCOPE:
|
VERCEL_SCOPE:
|
||||||
|
@ -72,11 +72,7 @@ steps:
|
||||||
- main
|
- main
|
||||||
- name: deploy (preview)
|
- name: deploy (preview)
|
||||||
image: dockette/vercel
|
image: dockette/vercel
|
||||||
environment:
|
environment: *vercel_secrets
|
||||||
VERCEL_TOKEN:
|
|
||||||
from_secret: VERCEL_TOKEN
|
|
||||||
VERCEL_SCOPE:
|
|
||||||
from_secret: VERCEL_SCOPE
|
|
||||||
commands:
|
commands:
|
||||||
- export VERCEL_BUILD_URL=$(vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c)
|
- export VERCEL_BUILD_URL=$(vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c)
|
||||||
- echo VERCEL_BUILD_URL=$VERCEL_BUILD_URL >> .env
|
- echo VERCEL_BUILD_URL=$VERCEL_BUILD_URL >> .env
|
||||||
|
|
Reference in a new issue