A
A
Automat2018-03-02 07:58:56
git
Automat, 2018-03-02 07:58:56

How to deploy without a GIT folder?

I know how to deploy an application using webhooks, but there is still a .git folder on the production server, even though it is located above the web directory, it annoys me. There are deployment systems where only the project files themselves are rolled out to the server.
1) Which of them is the easiest to simply roll out new files from the master in the git automatically or at least manually with a command
2) If there is some kind of mana for it, I would be grateful.
PS There are all sorts of Ansible, Bitbucket Pipelines, deb packages, I'm already confused among all this, I don't need an industrial solution of great complexity, I have a small project, but I want to make the correct deployment on it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2018-03-02
@nomotrack

I don't see any problem. Through hooks and bare repository, this is how the work is done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question