Using git source control using website

So I just want to configure Git on my server, but I have a million problems running, so forget about it.

Is it possible to set up a normal Git repository and then synchronize my autoserver to a web server (just read, I think) with a Git repo?

I'm just part of a 2-person team and prefer to use Git for any other version control.

+4
source share
2 answers

TL DR

-, - . - webhook , Git, , .

Cron

, cron. Git ​​ , :

* * * * * cd /path/to/www && git pull

-, , , , , .

GitHub , , AWS Heroku. , Heroku , -, .

. :

, , , . Capistrano, Ruby on Rails, , , , , , .

+5

Git, , .

:

:

  • Git .
  • Git Bitbucket >
  • Deploybot, FTP
  • Deploybot Production. Bitbucket .
  • , .

.. , , , , - .

+4
source

Source: https://habr.com/ru/post/1609233/


All Articles