DEV Community

Discussion on: Git- Automatic pull on production server?

Collapse
moopet profile image
Ben Sinclair

Can you push to the server instead? Pushing to a bare repo that only contains a hook to checkout the latest commit to the served directory is a standard way of working (or it used to be...)

You might not be able to do that, depending on your hosting, though.

Collapse
ian profile image
Ian Author

Well, that would be possible, but for convenience I'd like to use my Gitea server, since it also offers a nice UI.

Client ---> Gitea ----> Server