Commit 04380d7 Splitter
committed
1 parent 96e56f2 commit 04380d7 Copy full SHA for 04380d7
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Deploy website to GitHub Pages
2
2
3
3
env :
4
- WC_HUGO_VERSION : ' 0.119.0 '
4
+ WC_HUGO_VERSION : ' 0.124.1 '
5
5
6
6
on :
7
7
# Trigger the workflow every time you push to the `main` branch
@@ -32,27 +32,27 @@ jobs:
32
32
# Fetch history for Hugo's .GitInfo and .Lastmod
33
33
fetch-depth : 0
34
34
- name : Setup Hugo
35
- uses : peaceiris/actions-hugo@v2
35
+ uses : peaceiris/actions-hugo@v3
36
36
with :
37
37
hugo-version : ${{ env.WC_HUGO_VERSION }}
38
38
extended : true
39
- - uses : actions/cache@v3
39
+ - uses : actions/cache@v4
40
40
with :
41
41
path : /tmp/hugo_cache_runner/
42
42
key : ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
43
43
restore-keys : |
44
44
${{ runner.os }}-hugomod-
45
45
- name : Setup Pages
46
46
id : pages
47
- uses : actions/configure-pages@v3
47
+ uses : actions/configure-pages@v5
48
48
- name : Build with Hugo
49
49
env :
50
50
HUGO_ENVIRONMENT : production
51
51
run : |
52
52
echo "Hugo Cache Dir: $(hugo config | grep cachedir)"
53
53
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
54
54
- name : Upload artifact
55
- uses : actions/upload-pages-artifact@v2
55
+ uses : actions/upload-pages-artifact@v3
56
56
with :
57
57
path : ./public
58
58
67
67
steps :
68
68
- name : Deploy to GitHub Pages
69
69
id : deployment
70
- uses : actions/deploy-pages@v2
70
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments