Skip to content

Commit

Permalink
npm语句优化
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiansu committed May 29, 2024
1 parent 0d5c3f0 commit e41d146
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ jobs:
- name: Install Dependencies
run: |
npm config get proxy
npm config get https-proxy
npm config set proxy null
npm config set https-proxy null
npm config set registry http://registry.cnpmjs.org/
npm i -g hexo-cli
npm install hexo-deployer-git --save
npm i
npm install -g cnpm --registry=https://registry.npm.taobao.org
- name: Deploy hexo
- name: Generate static blog file
run: |
hexo generate
- name: Deploy to github page
run: |
npm run deploy
hexo deploy

0 comments on commit e41d146

Please sign in to comment.