浏览代码

chore: edit surge preview action cnpm

richard1015 5 年之前
父节点
当前提交
c46197fad3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/preview.yml

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

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