Gitlab cicd with hostinger
###Step1: give access of gitlab to hostinger ( one time step ) ###
1. Goto Hostinger -> advanced -> Git -> Copy SSH
2. Goto gitlab Profile -> SSH Key ( Paste Hostinger ssh key )
### step 2: create repository in Hostinger ###
1. Goto hostinger -> advanced -> GIT -> create a new repository ( enter gitlab project repository ssh url )
2. Select branch and enter directory of hostinger
3. Click on Create button
### for CiCd ( auto deployment) ###
1. Click on auto deployment and copy webhook url
2. Paste this URL into gitlab repository's settings -> webhook .
### End ###
Reference - https://www.youtube.com/watch?v=bj7XvNaYA5U
Comments
Post a Comment