Browse Source

chore: edit surge preview action cnpm

richard1015 5 years ago
parent
commit
c46197fad3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/preview.yml

+ 1 - 1
.github/workflows/preview.yml

@@ -12,7 +12,7 @@ jobs:
           surge_token: ${{ secrets.SURGE_TOKEN }}
           surge_token: ${{ secrets.SURGE_TOKEN }}
           github_token: ${{ secrets.GITHUB_TOKEN }}
           github_token: ${{ secrets.GITHUB_TOKEN }}
           build: |
           build: |
-            npm install
+            cnpm install
             npm run build:site
             npm run build:site
             mv dist/default.html dist/index.html
             mv dist/default.html dist/index.html
           dist: site/public
           dist: site/public