Skip to content

Commit a2d481e

Browse files
committed
Updating GitHub Action for GitHub Pages build
1 parent bb4fe4a commit a2d481e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ on:
77

88
jobs:
99
deploy:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-20.04
1111
defaults:
1212
run:
1313
working-directory: ./docs
1414
steps:
1515
- uses: actions/checkout@v2
1616
with:
17-
submodules: recursive # Fetch the Docsy theme
18-
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
17+
submodules: true
18+
fetch-depth: 0
1919

2020
- name: Setup Hugo
2121
uses: peaceiris/actions-hugo@v2
2222
with:
23-
hugo-version: '0.96.0'
23+
hugo-version: '0.120.4'
2424
extended: true
2525

2626
- name: Setup Node

0 commit comments

Comments
 (0)