To deploy from GitLab on Light Cloud, connect your GitLab account in the console, click New... , Deploy from GitLab , pick the project and branch, and click Deploy . From then on, every push to that branch deploys again, every other branch gets its own preview URL, and merge requests get a note with the preview link and a green or red status.
What you will build
A one-page static site, deployed from GitLab:
the main branch at its own URL, updated on every push,
a preview for a feature branch, linked from the merge request,
a light and a dark theme, following the visitor's system setting.
Source code: gitlab.com/julia188/tutorial-git-providers .
Before you start
A GitLab account.
A Light Cloud account. The Free plan is enough for a static site.
Git and a terminal. On Windows, use PowerShell 7 .
Step 1: Get the example project
Open the example project on GitLab and click Fork , choosing your own namespace.…