updating explorer.yml

This commit is contained in:
axleiro 2021-10-14 14:11:12 +05:30 committed by GitHub
parent aa36b997aa
commit 49af5342f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 7 deletions

View File

@ -1,16 +1,14 @@
name: Explorer
on:
push:
branches: [master]
paths:
- 'explorer/**'
pull_request_target:
branches: [ master ]
paths:
- "explorer/**"
pull_request:
branches: [ master ]
paths:
- "explorer/**"
- 'explorer/**'
jobs:
check-explorer:
runs-on: ubuntu-latest
@ -33,3 +31,11 @@ jobs:
- run: npm run format
- run: npm run build
- run: npm run test
- name: deploy website
uses: actions/checkout@v2
- 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/