Merge branch 'main' of github.com:postyizhan/Dumb_Service_Guide

This commit is contained in:
postyizhan 2024-04-04 10:37:41 +08:00
commit 27178f5511

View File

@ -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