From ef73ce23975097e90575cf7afe307fa80c545b65 Mon Sep 17 00:00:00 2001 From: lybell-art Date: Fri, 23 Aug 2024 18:34:00 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EB=A9=94=EC=9D=B8=EB=B8=8C=EB=9E=9C?= =?UTF-8?q?=EC=B9=98=20=EB=B9=8C=EB=93=9C=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy_admin_production.yaml | 8 ++++---- .github/workflows/deploy_production.yaml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_admin_production.yaml b/.github/workflows/deploy_admin_production.yaml index c393432f..39843721 100644 --- a/.github/workflows/deploy_admin_production.yaml +++ b/.github/workflows/deploy_admin_production.yaml @@ -22,10 +22,10 @@ jobs: node-version: '20.x' - name: install vercel cli run: npm install -g vercel - - name: deploy to vercel as preview + - name: deploy to vercel as production run: | npm install cd ./packages/adminPage - vercel pull --yes --token=${{ secrets.VERCEL_TOKEN }} - vercel build --token=${{ secrets.VERCEL_TOKEN }} - vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file + vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/deploy_production.yaml b/.github/workflows/deploy_production.yaml index 07b96099..8fa2421d 100644 --- a/.github/workflows/deploy_production.yaml +++ b/.github/workflows/deploy_production.yaml @@ -24,6 +24,8 @@ jobs: run: npm install -g vercel - name: deploy to vercel as production run: | + npm install + cd ./packages/mainPage vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file