1

A lot of services designed for running lightweight apps on clusters (Flynn, Deis, Dokku) are following Heroku's deployment standard of adding a git remote and pushing to it when you want to build and/or deploy an application. The build output is sent back to the user who sent the git push, right in their tty.

How can I set up my own server with git and ssh to do actions on push and relay information back to the user?

1 Answer 1

1

You should take a look at git hooks. You can have a git hook on the server that is executed when code is pushed to it. My guess is that any output you do in these hooks is relayed to the client per default (not 100% sure though).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.