mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
fix build.yml
This commit is contained in:
parent
08173489e1
commit
589236ec80
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -11,8 +11,9 @@ jobs:
|
|||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master # 将代码拷贝到虚机中
|
uses: actions/checkout@master # 将代码拷贝到虚机中
|
||||||
- name: npm install, build
|
- name: npm install, build
|
||||||
uses: yanglbme/gitee-pages-action@master
|
uses: JamesIves/github-pages-deploy-action@master
|
||||||
env:
|
env:
|
||||||
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} # 使用刚新建的secret
|
||||||
BRANCH: gh-page # 存放产物的分支名称
|
BRANCH: gh-page # 存放产物的分支名称
|
||||||
FOLDER: dist # 存放build后产物的目录
|
FOLDER: dist # 存放build后产物的目录
|
||||||
BUILD_SCRIPT: npm install && npm run build # 执行的命令
|
BUILD_SCRIPT: npm install && npm run build # 执行的命令
|
Loading…
Reference in New Issue
Block a user