updating explorer.yml
This commit is contained in:
parent
aa36b997aa
commit
49af5342f6
|
@ -1,16 +1,14 @@
|
||||||
|
|
||||||
name: Explorer
|
name: Explorer
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches: [master]
|
||||||
|
paths:
|
||||||
|
- 'explorer/**'
|
||||||
|
pull_request_target:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths:
|
paths:
|
||||||
- "explorer/**"
|
- 'explorer/**'
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
paths:
|
|
||||||
- "explorer/**"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-explorer:
|
check-explorer:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -33,3 +31,11 @@ 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: 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/
|
||||||
|
|
Loading…
Reference in New Issue