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

Popular posts from this blog

simple inventory management system using Google Apps Script

How to Safely Delete Files and Directories Using Linux Command Line

How to Debug Android TV App using IP