fix: разбита длинная команда tar в Drone CI
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
- Использован многострочный YAML блок для длинной команды - Команда tar теперь читается как единый блок с переносами - Исправлена ошибка unmarshal на строке 126
This commit is contained in:
@@ -122,7 +122,10 @@ steps:
|
||||
commands:
|
||||
- echo "📦 Создание артефактов сборки..."
|
||||
- mkdir -p dist
|
||||
- tar -czf dist/lottery_bot_${DRONE_BUILD_NUMBER}.tar.gz src/ main.py requirements.txt Makefile README.md alembic.ini migrations/ data/ docs/ scripts/
|
||||
- |
|
||||
tar -czf dist/lottery_bot_${DRONE_BUILD_NUMBER}.tar.gz \
|
||||
src/ main.py requirements.txt Makefile README.md \
|
||||
alembic.ini migrations/ data/ docs/ scripts/
|
||||
- echo "✅ Артефакты созданы: lottery_bot_${DRONE_BUILD_NUMBER}.tar.gz"
|
||||
- ls -la dist/
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user