I would like to know if there's possibility of deployment (Website) on a prod server with GIT?
Let me explain:
I have a team who work locally, it working with GIT, we would after completing the development, deploy on a server PREPROD and in a second time, Deploy on PROD server?
Thank you in advance,
GitLab.com offers simple free hosting for its own platform but that's primarily for open-source projects with limited storage requirements.
You can use HTML along with CSS and Javascript. It works on any Gitlab instance (Gitlab.com or Frama.io for example)
You would need, with gitlab, to use a webhook (same idea as with GitHub), in order to trigger a git pull from your prod environment.
See an example of a Gitlab webhook at "How to setup Gitlab with post-receive hook?".
Note: that webhook doesn't have to be in php: you can see more details and a different example in "Jenkins Gitlab Hook Plugin".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With