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