L
L
laponov2014-01-23 01:47:54
GitHub
laponov, 2014-01-23 01:47:54

How to publish a project in Git directly to production on the main server?

I use GitHub on Windows ( windows.github.com ). The workflow seems to have been set up, but the question arose, is it possible to somehow publish the project directly to production on the main server?
I didn’t find anything in the Git settings, and in general it seems to me that some kind of stripped-down version turned out for them.
Or not bother and use the old-fashioned way via FTP manually?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Filatov, 2014-01-23
@laponov

You need:
1. GIT console
2. Set up a GIT server on production (3 commands)
3. Add your SSH pub to the GIT server on production
4. Push there
Or, go to the server from under the console and pull from there.
Here everything is very simple and clear -

N
Nikolai Vasilchuk, 2014-01-23
@Anonym

Chik-chik and in production.
Smoke towards post-commit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question