Fix build

This commit is contained in:
Fundor333
2024-09-12 16:39:11 +02:00
parent e492c26b62
commit 18cf736e2d
2 changed files with 5 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ jobs:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: make deploy
run: make deploy_prod
- name: Upload artifact
uses: actions/upload-pages-artifact@v3.0.1

View File

@@ -59,3 +59,7 @@ deploy: clean characters ## Ready to deploy
brodcast: clean ## Brodcast the site
@hugo server --disableFastRender --buildFuture --buildDrafts -bind=0.0.0.0
deploy_prod: ## Ready to deploy
@npm update
@hugo mod get -u
@hugo --minify