mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
Update node.js.yml
This commit is contained in:
parent
c63450a1bf
commit
b8fe7a4438
10
.github/workflows/node.js.yml
vendored
10
.github/workflows/node.js.yml
vendored
@ -21,9 +21,19 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: npm i
|
||||
- run: sh deploy-gh-pages.sh
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BRANCH: gh-pages # The branch the action should deploy to.
|
||||
FOLDER: gh-pages # The folder the action should deploy.
|
||||
CLEAN: true # Automatically remove deleted files from the deploy branch
|
||||
|
Loading…
Reference in New Issue
Block a user