Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment script for bouncer VM #37

Closed
lionello opened this issue Sep 12, 2015 · 2 comments
Closed

Deployment script for bouncer VM #37

lionello opened this issue Sep 12, 2015 · 2 comments

Comments

@lionello
Copy link
Member

Currently, a new version of bouncer can be deployed by SSH into bouncer as root and doing a git pull in /var/www. Is there a way to make this seamless? Perhaps a daily/triggered git pull?

@lionello
Copy link
Member Author

Done: add a remote git remote add username@bouncer:/var/www and push to its master branch to deploy.
Important: make sure your username on bouncer is a member of the local git group, since any changed/new files will be owned by the user and group that pushes: root$ adduser username git

@lionello
Copy link
Member Author

lionello commented Nov 1, 2015

Using this solution, for the record: http://stackoverflow.com/a/3838796/2017049

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant