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 build
|
||||
- run: npm run test
|
||||
- name: checking out
|
||||
uses: actions/checkout@v2
|
||||
- name: Deploying
|
||||
run: source publish.sh
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
- uses: actions/checkout@v2
|
||||
- uses: amondnet/vercel-action@v20
|
||||
with:
|
||||
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
||||
github-token: ${{ secrets.GITHUB_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