diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0cfd30a..24ea7e5 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -12,8 +12,6 @@ jobs: steps: - name: Checkout 코드 uses: actions/checkout@v4 - with: - path: 'demo' - name: Node.js 설치 uses: actions/setup-node@v4 @@ -22,12 +20,14 @@ jobs: - name: 의존성 설치 run: npm install + working-directory: './demo' - name: 빌드 run: npm run build + working-directory: './demo' - name: gh-pages 브랜치로 배포 uses: peaceiris/actions-gh-pages@v3 with: - publish_dir: ./build + publish_dir: ./build/demo publish_branch: gh-pages