forked from mirror/NitWikit
Merge branch 'main' of github.com:postyizhan/Dumb_Service_Guide
This commit is contained in:
commit
27178f5511
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -13,6 +13,16 @@ jobs:
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
# 启用缓存加速部署
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
# 编译出静态页面
|
||||
- name: Install and Build
|
||||
run: npm install && npm run build
|
||||
@ -101,4 +111,4 @@ jobs:
|
||||
# upload_url: ${{ steps.create-new-release.outputs.upload_url }}
|
||||
# asset_path: Banker-Wiki-English.pdf
|
||||
# asset_name: Banker-Wiki-English.pdf
|
||||
# asset_content_type: application/zip
|
||||
# asset_content_type: application/zip
|
||||
|
Loading…
Reference in New Issue
Block a user