|
|
|
|
|
by andyhmltn
4740 days ago
|
|
Depends on whether or not I'm actively working on a new part of the site. It varies from 10+ times to 1-2 times an hour. However, with all these people talking about deployment, I just wanna hijack (sorry!) and ask if anybody can help with my current deployment setup: - Branch into a new feature (refactor-javascript for example)
- Commit constantly
- Rebase with master then merge into master
- Push to remote repo
- SSH to server, and then pull from the same repo
- (.git isn't exposed via HTTP) What's the better way of doing this? If you could help that'd be great :-) Drop me an email at andy@fine.io |
|
I have a server setup with a headless git repo and non-headless one. When I push to the headless repo, the post-receive hook goes to the other repo, pulls from the headless, runs tests and restarts the server
So to deploy I just do
And get instant feedback that all the tests passed and server was restarted