fix build.yml

This commit is contained in:
JimQing 2020-05-02 19:59:45 +08:00
parent 08173489e1
commit 589236ec80

View File

@ -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 # 执行的命令