From b4480e6b70733f4b15c9d436d9de2ff3bcdf86dd Mon Sep 17 00:00:00 2001 From: axleiro <83293196+axleiro@users.noreply.github.com> Date: Thu, 3 Mar 2022 02:50:32 -0500 Subject: [PATCH] fixing the vercel " promote to production" issue (#23466) * fix the issue of "promote to Production" on vercel * fix the issue "promote to production" on vercel for production deployment --- .github/workflows/explorer_preview.yml | 3 +-- .github/workflows/explorer_production.yml | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/explorer_preview.yml b/.github/workflows/explorer_preview.yml index 2e978df79..4f1211a64 100644 --- a/.github/workflows/explorer_preview.yml +++ b/.github/workflows/explorer_preview.yml @@ -17,8 +17,7 @@ jobs: vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required github-token: ${{ secrets.GITHUB_TOKEN }} #Optional vercel-org-id: ${{ secrets.ORG_ID}} #Required - vercel-project-id: ${{ secrets.PROJECT_ID}} #Required - working-directory: ./explorer + vercel-project-id: ${{ secrets.PROJECT_ID}} #Required scope: ${{ secrets.TEAM_ID }} - name: vercel url diff --git a/.github/workflows/explorer_production.yml b/.github/workflows/explorer_production.yml index 78bfacdcf..8a0703139 100644 --- a/.github/workflows/explorer_production.yml +++ b/.github/workflows/explorer_production.yml @@ -28,9 +28,7 @@ jobs: Explorer_production_deploy: needs: Explorer_production_build_test runs-on: ubuntu-latest - defaults: - run: - working-directory: explorer + steps: - uses: actions/checkout@v2 with: @@ -42,5 +40,4 @@ jobs: vercel-args: '--prod' #for production vercel-org-id: ${{ secrets.ORG_ID}} #Required vercel-project-id: ${{ secrets.PROJECT_ID}} #Required - working-directory: ./explorer scope: ${{ secrets.TEAM_ID }}