Configure automatic deployment so that every time you push code to your GitHub repository, iPanel automatically deploys the changes to your website.
Steps
-
Navigate to your website management page.
[screenshot: website management page]
-
Click the GIT card on the Home tab.
[screenshot: git card]
-
In the GitHub Deployments drawer, locate your deployment card.
[screenshot: deployment card]
-
Look for the Auto-Deploy or Webhook toggle on the deployment card.
[screenshot: auto-deploy toggle]
-
Enable the toggle to activate automatic deployments.
[screenshot: enabling auto-deploy]
-
Configure the target branch that triggers auto-deployment (e.g.,
mainorproduction).[screenshot: selecting auto-deploy branch]
-
Click Save to activate. From now on, every push to the configured branch will automatically trigger a deployment.
[screenshot: save auto-deploy settings]
main or production. Avoid auto-deploying from development branches to prevent untested code from going live.