fix: replace heredoc with printf (heredoc breaks in act runner)
This commit is contained in:
@@ -26,17 +26,8 @@ jobs:
|
||||
|
||||
# Убедиться что index.md есть
|
||||
if [ ! -f /opt/digital-home/interior/content/index.md ]; then
|
||||
cat > /opt/digital-home/interior/content/index.md << 'INDEXEOF'
|
||||
---
|
||||
title: Ремонт квартиры
|
||||
---
|
||||
|
||||
# Ремонт квартиры
|
||||
|
||||
- [[notes/Интерьер]]
|
||||
- [[notes/Интерьер кухня]]
|
||||
- [[notes/Интерьер спальни]]
|
||||
INDEXEOF
|
||||
printf '---\ntitle: Ремонт квартиры\n---\n\n# Ремонт квартиры\n\n- [[notes/Интерьер]]\n- [[notes/Интерьер кухня]]\n- [[notes/Интерьер спальни]]\n' \
|
||||
> /opt/digital-home/interior/content/index.md
|
||||
fi
|
||||
|
||||
# Пересобрать и перезапустить
|
||||
|
||||
Reference in New Issue
Block a user