summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-09-29 11:11:49 +0200
committerSerghei Iakovlev <git@serghei.pl>2024-09-29 12:04:25 +0200
commit7fcbf438a559e8b3d9a176015b5af757d2142d93 (patch)
tree0b9d78b01051fb05f54f55a1f5eb93f338b56df0
parentb2d4394d4bf376e6ef937879a7e9b0030812531e (diff)
downloadgohugo-theme-ed-7fcbf438a559e8b3d9a176015b5af757d2142d93.tar.gz
Remove deprecated build option
-rw-r--r--.github/workflows/codeql-analysis.yml2
-rw-r--r--package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 69e4484..70b923b 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -69,7 +69,7 @@ jobs:
- name: Build site
run: |
- hugo --verbose --source=exampleSite --buildDrafts --buildFuture
+ hugo --logLevel info --printUnusedTemplates --printPathWarnings --printMemoryUsage --printI18nWarnings --buildDrafts --buildExpired --buildFuture
env:
HUGO_RESOURCEDIR: '../resources'
HUGO_ENV: development
diff --git a/package.json b/package.json
index 1436613..72a347f 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,7 @@
"author": "Serghei Iakovlev <egrep@protonmail.ch>",
"main": "index.js",
"scripts": {
- "build": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=production hugo --gc --logLevel info --cleanDestinationDir --printUnusedTemplates --printPathWarnings --printMemoryUsage --printI18nWarnings --buildDrafts --buildExpired --buildFuture --forceSyncStatic",
+ "build": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=production hugo --gc --logLevel info --source=exampleSite --cleanDestinationDir --printUnusedTemplates --printPathWarnings --printMemoryUsage --printI18nWarnings --buildDrafts --buildExpired --buildFuture --forceSyncStatic",
"server": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=development hugo server --logLevel info --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender",
"test": "playwright test",
"lint": "eslint static/js/* assets/js/* tests/*.spec.js eslint.config.js playwright.config.js netlify-preview.js",