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

Set up autodeploy to live server #6

Open
jonnor opened this issue Jul 14, 2016 · 2 comments
Open

Set up autodeploy to live server #6

jonnor opened this issue Jul 14, 2016 · 2 comments

Comments

@jonnor
Copy link
Contributor

jonnor commented Jul 14, 2016

Right now one must (presumably, as this is not documented anywhere) log into the webserver, and fetch/syncronize the repo used there with the one in git/github in order to make changes go live.

Instead this should be automated to happen automatically when making a tag/release.

@jonnor
Copy link
Contributor Author

jonnor commented Jul 14, 2016

A possible approach here would to enable Travis CI, which would run a job on each change in git. This gives us a full Linux system, which we can use to do whatever is needed. For instance on tagged commits, run the commands needed to push/sync the live system.

Travis supports storing secrets (like for SSH login) safely using encryption, https://docs.travis-ci.com/user/encryption-keys

@jonnor
Copy link
Contributor Author

jonnor commented Jul 14, 2016

Using the same mechanism one could make all changes to master go to the staging server

jonnor added a commit that referenced this issue Jul 14, 2016
Fixes #5
References #6, basically describing the steps which are needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant