Hi, Le vendredi 17 janvier 2014 à 07:56 -0800, Bjorn Hogeman a écrit : > I want to use git for maintaining a website. > > I installed gitlab on a ubuntu vm without any problems. Created a new > project and uploading, http, ssh, all works just fine. > My only challange is to make the files I upload visible for the > webserver. I know I must search this in webhooks and/or git checkout. > The only thing is I can't seem to find what I miss. My goal and > challange is to upload a site with git and make it visible for the > webserver. > And if possible without using a cron. Anyone got any suggestions on > how to make this work? It can''t be that difficult.
I am using gitlab for the same kind of application and, it's an overkill, but I wanted to play with gitlab-ci and I am am using it for this purpose. In my case, the script run by the gitlab-ci runner performs some tests to check that what has been committed is sane and, if that's the case, it synchronizes the content of the project with the directory under which it is served by the web server. The beauty of the thing is that all the bells and whistles from gitlab-ci are available (it displays the build status in the project page, can send emails if anything fails, ...). But again that's heavyweight if you're not interested in gitlab-ci ;) ! Hope this helps. Eric -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
