Update hugo.yml

This commit is contained in:
Manuel Gugger 2023-01-17 12:37:16 +01:00 committed by GitHub
parent 9f5f8951e1
commit 830a351eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,7 @@ jobs:
- name: Install Node.js dependencies - name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo - name: Build with Hugo
working-directory: ./docs
env: env:
# For maximum backward compatibility with Hugo modules # For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production HUGO_ENVIRONMENT: production
@ -59,7 +60,7 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: with:
path: ./public path: ./docs/public
# Deployment job # Deployment job
deploy: deploy: