File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -30,33 +30,28 @@ jobs:
30
30
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
31
31
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
32
32
33
- # - name: Install Dart SASS
34
- # run: sudo snap install dart-sass
35
-
36
33
- name : Checkout Repository
37
34
uses : actions/checkout@v4
38
35
with :
39
- submodules : recurisive
36
+ submodules : recursive
40
37
fetch-depth : 0
41
38
42
39
- name : Setup Pages
43
40
id : pages
44
41
uses : actions/configure-pages@v5
45
42
46
- - name : Install Node.js dependencies
47
- run : " [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
48
-
49
43
- name : Build with Hugo
50
44
env :
51
45
HUGO_CACHEDIR : ${{ runner.temp }}/hugo_cache
52
46
HUGO_ENVIRONMENT : production
53
47
TZ : America/Los_Angeles
54
48
run : hugo --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
49
+ working-directory : ./docs
55
50
56
51
- name : Upload artifact
57
52
uses : actions/upload-pages-artifact@v3
58
53
with :
59
- path : ./public
54
+ path : ./docs/ public
60
55
61
56
deploy :
62
57
environment :
You can’t perform that action at this time.
0 commit comments