From 49af5342f6651befbec413157c8c7147c3a41681 Mon Sep 17 00:00:00 2001 From: axleiro <83293196+axleiro@users.noreply.github.com> Date: Thu, 14 Oct 2021 14:11:12 +0530 Subject: [PATCH] updating explorer.yml --- .github/workflows/explorer.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/explorer.yml b/.github/workflows/explorer.yml index 039694272c..1f90658dcf 100644 --- a/.github/workflows/explorer.yml +++ b/.github/workflows/explorer.yml @@ -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/