chore: add Vercel CLI

This commit is contained in:
Divlo committed 2021-07-27 19:00:21 +02:00
1 parent 3b208c6614
commit 5133765f94
9 files changed
+693 -8

No files matched your search

+10
View File
@@ -101,7 +101,17 @@ jobs:
- name: 'Install'
run: 'npm install'
- name: 'Archive Source code'
run: 'tar --exclude="./node_modules" --exclude=".git" -cvf "./Divlo.tar.gz" "./" --warning=no-file-changed'
- name: 'Release'
run: 'npm run release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Deploy to Vercel'
run: 'npm run deploy -- --token="${VERCEL_TOKEN}" --prod'
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}