kitplummer / goa

GitOps Agent - continuously monitors a remote git repository against local/any change, and performs actions (e.g. executes a provided command) - given a periodicity that is defined as a time intervals [NOTE: very much pre-release at this point.]
MIT License
4 stars 0 forks source link

Multi lines in .goa #79

Closed kitplummer closed 2 years ago

kitplummer commented 2 years ago

Treat as executable bash/sh or any script with a shebang line, or a Windows batch file.

kitplummer commented 2 years ago

This works now. It gets exec'd as a shell of batch file. But you can't put Python or something like that directly in the .goa file. The .goa can point to a python script though, and will exec it if it has the appropriate shebang line in it.