Skip to content

How Can I Automatically Deploy My Website on Hostinger When Committing Changes? #108221

Discussion options

You must be logged in to vote

I had this similar issue 2 weeks ago maybe that helps you,
You can visit the Hostinger documentation about the direct connection.
LINK: https://support.hostinger.com/en/articles/1583302-how-to-deploy-a-git-repository

you can follow the instructions mentioned on the page, and there is a video to help you get through easily.

in summary, there are two ways to connect either
-public or private repository, and then you can add a webhook and enjoy continuous deployment there.
and also make sure to edit the branch name to its master by default.

I hope I answered your question. 😊

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by abdulrafaie55
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question
3 participants