From b367a5145f3dc37cea82f0b2f2ebc4cfc604d69a Mon Sep 17 00:00:00 2001 From: 2seb2 Date: Wed, 22 Apr 2026 08:32:18 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20front-deploy=20=EC=9B=8C=ED=81=AC?= =?UTF-8?q?=ED=94=8C=EB=A1=9C=EC=9A=B0=20step=20name=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/front-deploy.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/front-deploy.yml b/.github/workflows/front-deploy.yml index 9491492..f3c5436 100644 --- a/.github/workflows/front-deploy.yml +++ b/.github/workflows/front-deploy.yml @@ -9,22 +9,30 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - run: corepack enable + - name: Checkout + uses: actions/checkout@v4 + + - name: Enable Corepack + run: corepack enable # package.json의 packageManager 버전(yarn berry)으로 자동 전환 - - uses: actions/setup-node@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 22 cache: yarn - - run: yarn install --immutable - - run: yarn build + - name: Install dependencies + run: yarn install --immutable + + - name: Build + run: yarn build env: VITE_APP_TITLE: ${{ secrets.VITE_APP_TITLE }} # dist/ 폴더 생성 - - uses: aws-actions/configure-aws-credentials@v4 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}