Skip to content

Commit d48aac4

Browse files
committed
Update Workflows
1 parent d94f1ab commit d48aac4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/hugo.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ jobs:
5050
uses: actions/configure-pages@v4
5151
- name: Install Node.js dependencies
5252
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
53-
# - name: Build with Hugo
54-
# env:
55-
# # For maximum backward compatibility with Hugo modules
56-
# HUGO_ENVIRONMENT: production
57-
# HUGO_ENV: production
58-
# run: |
59-
# hugo \
60-
# --gc \
61-
# --minify \
62-
# --baseURL "${{ steps.pages.outputs.base_url }}/"
53+
- name: Build with Hugo
54+
env:
55+
# For maximum backward compatibility with Hugo modules
56+
HUGO_ENVIRONMENT: production
57+
HUGO_ENV: production
58+
run: |
59+
hugo \
60+
--gc \
61+
--minify \
62+
--baseURL "${{ steps.pages.outputs.base_url }}/"
6363
- name: Build with Hugo Staging
6464
env:
6565
# For maximum backward compatibility with Hugo modules

0 commit comments

Comments
 (0)