mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 12:14:52 +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
|
||||
with:
|
||||
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
|
||||
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
|
||||
with:
|
||||
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
|
||||
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
|
||||
with:
|
||||
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
|
||||
id: check
|
||||
|
Loading…
x
Reference in New Issue
Block a user