File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -38,18 +38,27 @@ jobs:
38
38
run : |
39
39
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
40
40
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
41
+
41
42
- name : Install Dart Sass
42
43
run : sudo snap install dart-sass
44
+
43
45
- name : Checkout
44
46
uses : actions/checkout@v4
45
47
with :
46
48
submodules : recursive
47
49
fetch-depth : 0
50
+
48
51
- name : Setup Pages
49
52
id : pages
50
53
uses : actions/configure-pages@v5
54
+
55
+ - name : Logging
56
+ run : |
57
+ echo ${{ steps.pages.outputs.base_url }}
58
+
51
59
- name : Install Node.js dependencies
52
60
run : " [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
61
+
53
62
- name : Build with Hugo
54
63
env :
55
64
HUGO_CACHEDIR : ${{ runner.temp }}/hugo_cache
60
69
--gc \
61
70
--minify \
62
71
--baseURL "${{ steps.pages.outputs.base_url }}/"
72
+
63
73
- name : Upload artifact
64
74
uses : actions/upload-pages-artifact@v3
65
75
with :
76
86
- name : Deploy to GitHub Pages
77
87
id : deployment
78
88
uses : actions/deploy-pages@v4
79
-
Original file line number Diff line number Diff line change 1
1
baseURL = ' https://example.org/'
2
- relativeURLs = true
3
2
languageCode = ' en-us'
4
3
title = ' Git Mastery'
5
4
You can’t perform that action at this time.
0 commit comments