[GH-ISSUE #808] Feature Request: Ability to run multiline commands in pre- and post deploy #6325

Open
opened 2026-04-24 19:29:36 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @marrobHD on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/808

Hi,

currently only single line commands work in pre- and post deploy commands.

A fix would be to save & execute Pre Deploy and Post Deploy as scripts. This would fix the limitation.

Example:

echo "hello world" 

cat > hi <<- EOM
    hello
    world
EOM

This will fail with sh: 1: Syntax error: "&&" unexpected

Originally created by @marrobHD on GitHub (Sep 5, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/808 Hi, currently only single line commands work in pre- and post deploy commands. A fix would be to save & execute Pre Deploy and Post Deploy as scripts. This would fix the limitation. Example: ``` echo "hello world" cat > hi <<- EOM hello world EOM ``` This will fail with `sh: 1: Syntax error: "&&" unexpected`
GiteaMirror added the enhancement label 2026-04-24 19:29:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#6325