DEV Community

loading...

Discussion on: Git- Automatic pull on production server?

Collapse
ian profile image
Ian Author

Isn't there a simpler solution? I read something about git hooks

Collapse
hyperpress profile image
John Teague

Sure. You'd just need to create a script like a bash or python script, etc. But that probably puts you back in the using CRON job to run it I'd think.

If you're using an app that exposes a way to fire the script or actual book if available then that would be ideal, but my guess is you would have explored that if you had that option.