mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 15:15:48 +08:00
build: reduce build time #685
This commit is contained in:
parent
6c5bf0f9a4
commit
bb76d25145
2
.github/workflows/docs-build-deployment.yaml
vendored
2
.github/workflows/docs-build-deployment.yaml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - not necessary for this repo
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
uses: ./.github/actions/build_site
|
uses: ./.github/actions/build_site
|
||||||
|
1
.github/workflows/docs-build.yaml
vendored
1
.github/workflows/docs-build.yaml
vendored
@ -15,6 +15,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
|
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - not necessary for this repo
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
uses: ./.github/actions/build_site
|
uses: ./.github/actions/build_site
|
||||||
|
2
.github/workflows/version-release.yaml
vendored
2
.github/workflows/version-release.yaml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - not necessary for this repo
|
||||||
|
|
||||||
- name: Check milestone
|
- name: Check milestone
|
||||||
id: check
|
id: check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user