adding action for deployment
added action for deployment on vercel and will fix traceability issue
This commit is contained in:
parent
66e431dad5
commit
8305923527
|
@ -33,10 +33,13 @@ jobs:
|
||||||
- run: npm run format
|
- run: npm run format
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run test
|
- run: npm run test
|
||||||
- name: checking out
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
- uses: amondnet/vercel-action@v20
|
||||||
- name: Deploying
|
with:
|
||||||
run: source publish.sh
|
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
||||||
env:
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
vercel-args: '--prod' #for production
|
||||||
|
vercel-org-id: ${{ secrets.ORG_ID}}
|
||||||
|
vercel-project-id: ${{ secrets.PROJECT_ID}}
|
||||||
|
working-directory: ./explorer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue