Skip to content

Commit

Permalink
fix: 添加deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Liang34 committed Jul 14, 2023
1 parent 76d6d26 commit ec9a2bb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
uses: actions/checkout@v3
with:
node-version: 14
cache: 'npm'
cache-dependency-path: subdir/package-lock.json
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm ci
npm run build-storybook
- name: Install pnpm
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm
- name: Install dependencies
run: pnpm install
- name: Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run:
pnpm build-storybook

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.0
Expand Down

0 comments on commit ec9a2bb

Please sign in to comment.