https://github.com/danysantiago/scala-hook
Scala Git Hook Handler
https://github.com/danysantiago/scala-hook
Last synced: 6 months ago
JSON representation
Scala Git Hook Handler
- Host: GitHub
- URL: https://github.com/danysantiago/scala-hook
- Owner: danysantiago
- Created: 2014-03-08T00:17:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-08T02:43:29.000Z (over 11 years ago)
- Last Synced: 2025-02-01T05:45:31.643Z (8 months ago)
- Language: Scala
- Size: 172 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Scala-Hook
=====================================A small Scala Play Framework App to handle Git Hooks and have Continuous Deployment.
Have your server running this web app and setup your Git Hook url in your GitHub Project page.
When a Hook is fired and if it was a change in the master branch this web app will execute the 'script.sh' at the root of the project folder. In the script you execute whats necessary to stop, update and restart your main web app.
Remember that Play's default port is 9000, I recommend you change with something along the lines of ' play "run 8080" ' if you are running another play app.