Skip to content

Commit

Permalink
chore: deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kyechan99 committed Oct 12, 2024
1 parent 20ddd8c commit f399e14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f399e14

Please sign in to comment.