diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a0c8b4..6a1a3ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,8 +11,9 @@ jobs: - name: checkout uses: actions/checkout@master # 将代码拷贝到虚机中 - name: npm install, build - uses: yanglbme/gitee-pages-action@master + uses: JamesIves/github-pages-deploy-action@master env: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} # 使用刚新建的secret BRANCH: gh-page # 存放产物的分支名称 FOLDER: dist # 存放build后产物的目录 BUILD_SCRIPT: npm install && npm run build # 执行的命令 \ No newline at end of file