Answer the question
In order to leave comments, you need to log in
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
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 -
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question