From 589236ec802d4863042d29a82af9d200829cad62 Mon Sep 17 00:00:00 2001 From: JimQing Date: Sat, 2 May 2020 19:59:45 +0800 Subject: [PATCH] fix build.yml --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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