diff --git a/.github/workflows/explorer.yml b/.github/workflows/explorer.yml index 4867464bc..4ead60e25 100644 --- a/.github/workflows/explorer.yml +++ b/.github/workflows/explorer.yml @@ -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