diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d006193..7860f02 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,10 @@ -name: Deploy Docs site +name: Deploy Docs Pages on: + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write @@ -65,13 +67,11 @@ jobs: restore-keys: | ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- - name: Install dependencies - run: | - # 루트 패키지와 apps/www 패키지를 모두 설치 - pnpm install + run: pnpm install - name: Build with Next.js - run: ${{ steps.detect-package-manager.outputs.runner }} --filter apps/www... build + run: pnpm --filter bmates-docs build - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./apps/www/out