GitHub deployment connects a website to a repository branch. A customer can connect GitHub once at account level and reuse that connection for every owned website.
Step by step
- Connect GitHub
Open Git in the sidebar and complete the GitHub authorization. Administrators configure the OAuth application in System, GitHub.
- Configure the website
Open the website GitHub tab. Select the repository and branch. The connected account already provides the repository list.
- Add deployment steps
Choose relevant Composer, Artisan, npm, build or Node restart steps. Steps run inside the website isolation boundary.
- Choose automatic deployment
Enable branch following when new commits should deploy automatically. Disable it when releases must remain manual.
- Deploy and inspect
Run Deploy now or wait for the branch check. Review commit details, logs and error context on the website.
Good to know
- Reconnect GitHub if the stored authorization expires or is revoked.
- Automatic deployment only queues when the selected branch contains a new commit.