Skip to content

Commit c05a599

Browse files
authored
Merge pull request #96421 from coliff/patch-1
use latest version of actions/checkout
2 parents 91b611c + abb4c14 commit c05a599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/static-web-apps/publish-hugo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
runs-on: ubuntu-latest
150150
name: Build and Deploy Job
151151
steps:
152-
- uses: actions/checkout@v2
152+
- uses: actions/checkout@v3
153153
with:
154154
submodules: true
155155
- name: Build And Deploy
@@ -176,7 +176,7 @@ If your Hugo application uses the [Git Info feature](https://gohugo.io/variables
176176
Update your workflow file to [fetch your full Git history](https://github.com/actions/checkout/blob/main/README.md#fetch-all-history-for-all-tags-and-branches) by adding a new parameter under the `actions/checkout` step to set the `fetch-depth` to `0` (no limit):
177177

178178
```yaml
179-
- uses: actions/checkout@v2
179+
- uses: actions/checkout@v3
180180
with:
181181
submodules: true
182182
fetch-depth: 0

0 commit comments

Comments
 (0)