修改GitHub Pages部署流程
This commit is contained in:
parent
16e430a1bb
commit
9fc92f1b1d
14
.github/workflows/deploy-docs.yml
vendored
14
.github/workflows/deploy-docs.yml
vendored
@ -13,13 +13,13 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/cache@v3
|
#- uses: actions/cache@v3
|
||||||
id: node-modules
|
# id: node-modules
|
||||||
with:
|
# with:
|
||||||
path: node_modules/
|
# path: node_modules/
|
||||||
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
|
# key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-node-modules-
|
# ${{ runner.os }}-node-modules-
|
||||||
- name: 安装依赖
|
- name: 安装依赖
|
||||||
if: steps.node-modules.outputs.cache-hit != 'true'
|
if: steps.node-modules.outputs.cache-hit != 'true'
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user