Skip to content

Commit

Permalink
cicd: working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
flamecommit committed Feb 12, 2024
1 parent ae3415d commit 7bcd948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
steps:
- name: Checkout 코드
uses: actions/checkout@v4
with:
path: 'demo'

- name: Node.js 설치
uses: actions/setup-node@v4
Expand All @@ -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

0 comments on commit 7bcd948

Please sign in to comment.