Skip to content

Commit d858e91

Browse files
author
InfoTech.io Bot
committed
fix(workflow): restore proper YAML indentation in heredoc
The previous fix removed indentation from JSON content which broke YAML structure. In YAML run blocks, heredoc content must maintain proper indentation while only EOF should be unindented. Fixed: - Restore indentation for JSON content in heredoc - Keep EOF unindented as required for heredoc termination - Maintain proper YAML structure YAML validation now passes. Fixes: YAML syntax error on lines 245-246 Related: #10, Stage: 2 (YAML Syntax Fix)
1 parent ca98cd6 commit d858e91

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/deploy-github-pages.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -242,19 +242,19 @@ jobs:
242242
243243
# Создать минимальный module.json для current-site
244244
cat > ../current-site/module.json <<'EOF'
245-
{
246-
"module": {
247-
"name": "base-site",
248-
"version": "1.0.0",
249-
"description": "Current GitHub Pages content (downloaded)"
250-
},
251-
"build": {
252-
"template": "corporate",
253-
"theme": "compose",
254-
"copy_static": true
255-
}
256-
}
257-
EOF
245+
{
246+
"module": {
247+
"name": "base-site",
248+
"version": "1.0.0",
249+
"description": "Current GitHub Pages content (downloaded)"
250+
},
251+
"build": {
252+
"template": "corporate",
253+
"theme": "compose",
254+
"copy_static": true
255+
}
256+
}
257+
EOF
258258
259259
# Создать модифицированную конфигурацию
260260
jq --arg current_site_path "$(pwd)/../current-site" '

0 commit comments

Comments
 (0)