adding source publish.sh

This commit is contained in:
joeaba 2021-10-14 17:25:34 +05:30 committed by GitHub
parent 47ef12f19b
commit c901f47228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 9 deletions

View File

@ -31,13 +31,10 @@ jobs:
- run: npm run format
- run: npm run build
- run: npm run test
- name: deploy website
- name: checking out
uses: actions/checkout@v2
- run : npx vercel link
- uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
vercel-org-id: ${{ secrets.ORG_ID}} #Required
vercel-project-id: ${{ secrets.PROJECT_ID}} #Required
working-directory: explorer/
team_id: ${{ secrets.TEAM_ID }}
- name: Deploying
run: source publish.sh
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}