diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 30b456c..dc56b39 100755 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -52,14 +52,26 @@ jobs: wget -qO- https://github.com/errata-ai/vale/releases/download/v3.14.1/vale_3.14.1_Linux_64-bit.tar.gz | tar xz -C /tmp export PATH="/tmp:$PATH" + echo "=== Where are we? ===" + pwd + + echo "" + echo "=== Content directory exists? ===" + ls -la /workspace/g_it/site/content/ 2>/dev/null || echo "NOT FOUND at absolute path" + ls -la content/ 2>/dev/null || echo "NOT FOUND at relative path" + + echo "" + echo "=== Find all markdown files ===" + find /workspace/g_it/site -name "*.md" -type f 2>/dev/null | head -20 + + echo "" + echo "=== Sync ===" vale sync - echo "=== Vale Results ===" - vale --output=line content/ || EXIT_CODE=$? - - # Also try JSON for structured output echo "" - echo "=== Vale JSON ===" - vale --output=JSON content/ || true + echo "=== Run Vale with explicit path ===" + vale --output=line /workspace/g_it/site/content/ || true - exit ${EXIT_CODE:-0} + echo "" + echo "=== Or try with glob pattern ===" + vale --output=line "/workspace/g_it/site/content/**/*.md" 2>/dev/null || vale --output=line "content/**/*.md" 2>/dev/null || true diff --git a/.vale.ini b/.vale.ini index ede8a8f..d9998ee 100755 --- a/.vale.ini +++ b/.vale.ini @@ -3,4 +3,4 @@ MinAlertLevel = suggestion Packages = https://gugulet.hu/technical/git/g_it/vale/raw/branch/main/gugulet-hu.zip [content/**/*.md] -BasedOnStyles = gugulet-hu +gugulet-hu = YES