Merge branch 'main' into use-configure-pages-v2
This commit is contained in:
+4
-1
@@ -44,9 +44,12 @@ jobs:
|
|||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v2
|
uses: actions/configure-pages@v2
|
||||||
- name: Build with Hugo
|
- name: Build with Hugo
|
||||||
|
env:
|
||||||
|
# For maximum backward compatibility with Hugo modules
|
||||||
|
HUGO_ENVIRONMENT: production
|
||||||
|
HUGO_ENV: production
|
||||||
run: |
|
run: |
|
||||||
hugo \
|
hugo \
|
||||||
--environment production \
|
|
||||||
--minify \
|
--minify \
|
||||||
--baseURL ${{ steps.pages.outputs.base_url }}/
|
--baseURL ${{ steps.pages.outputs.base_url }}/
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user