Skip to content

Commit

Permalink
.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
“fuyz” committed Oct 21, 2023
1 parent 1e552c6 commit f9fa219
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/gitpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# Deprecated. Use node-version instead. Will not be supported after October 1, 2019
# version: # optional
- name: 'start server(启动正向代理!!)'
run: node server/server2.js
run: node server/server.js

- name: End Console
run: echo node server run successful!
Expand All @@ -65,10 +65,9 @@ jobs:
- name: Run a one-line script
run: echo Hello, world!

# npm install -g cnpm -registry=https://registry.npm.taobao.org
- name: Install and Build
run: |
cnpm install
npm install
npm run build
- name: Deploy
Expand All @@ -77,5 +76,5 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
BUILD_SCRIPT: cnpm install && npm run build
BUILD_SCRIPT: npm install && npm run build

0 comments on commit f9fa219

Please sign in to comment.