Skip to content

Commit

Permalink
fix: cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
flamecommit committed Feb 12, 2024
1 parent f66e14c commit 2a216d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,10 @@ jobs:
node-version: '18.18.2'

- name: 의존성 설치
run: |
cd ./demo
npm install
run: npm install

- name: 빌드
run: |
cd ./demo
npm run build
- name: artifacts로 파일 저장
uses: actions/upload-artifact@v2
with:
name: built-files
path: ./build
run: npm run build:demo

- name: gh-pages 브랜치로 배포
uses: peaceiris/actions-gh-pages@v3
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"dev": "npm run start -w test",
"link": "npm link -w package && npm link @shinyongjun/react-fullpage -w test",
"publish": "npm publish --access public -w package",
"dev:demo": "npm run start -w demo"
"dev:demo": "npm run start -w demo",
"build:demo": "npm run build -w demo"
},
"workspaces": [
"package",
Expand Down

0 comments on commit 2a216d4

Please sign in to comment.