Skip to content

Commit ca98cd6

Browse files
author
InfoTech.io Bot
committed
fix(workflow): correct here-document EOF syntax error
Fixed syntax error in here-document for module.json creation: - Remove indentation from EOF terminator - Remove indentation from JSON content - Proper heredoc formatting for YAML workflows Error was: 'here-document at line 19 delimited by end-of-file (wanted EOF)' Fixes: Syntax error in repository_dispatch workflow runs Related: #10, Stage: 2 (Syntax Fix)
1 parent f168ede commit ca98cd6

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)