Fix .env missing in production build
All checks were successful
continuous-integration/drone/push Build is passing

Rename discord notification step
This commit is contained in:
Tobias Berger 2021-10-14 22:09:05 +02:00
parent 880bba7743
commit 8598e75a71

View file

@ -66,6 +66,7 @@ steps:
from_secret: VERCEL_SCOPE from_secret: VERCEL_SCOPE
commands: commands:
- export VERCEL_BUILD_URL=$(vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c --prod) - export VERCEL_BUILD_URL=$(vercel -t $VERCEL_TOKEN --scope $VERCEL_SCOPE -c --prod)
- echo VERCEL_BUILD_URL=$VERCEL_BUILD_URL >> .env
when: when:
branch: branch:
- main - main
@ -83,7 +84,7 @@ steps:
branch: branch:
exclude: exclude:
- main - main
- name: discord notification (private) - name: discord notification
image: appleboy/drone-discord image: appleboy/drone-discord
environment: environment:
WEBHOOK_ID_PRIVATE: WEBHOOK_ID_PRIVATE: