This commit is contained in:
parent
247f58593d
commit
28da416bd6
2 changed files with 20 additions and 8 deletions
26
.github/workflows/lint.yml
vendored
26
.github/workflows/lint.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue