Skip to main content

Deploys

Deploys from GitHub, GitVerse, GitLab, GitFlic and SourceCraft, environments and branch previews, build retention.

Connecting a repositoryHow to connect a repository on GitHub, GitVerse, GitLab, GitFlic or SourceCraft, how the providers differ and what happens after a push.GitHubHow to connect a GitHub repository through the GitHub App, what happens after a push to the main branch and to other branches, and how to publish by hand.GitVerseHow to issue a token in GitVerse, connect it to a Layero organization and import a repository. How GitVerse differs from GitHub.From a folder with the CLIHow to publish a folder with layero deploy — no repository. What happens on upload, where it lands, flags, what isn't sent, build limits and JSON mode.From GitHub ActionsThe official GitHub Action for deploying to Layero — CI tokens, building in your pipeline, pull-request previews, step outputs and the errors you are likely to hit.Environments and previewsThe project's main address and branch previews, how a build becomes the main one, how many previews run at once, rollback and the «Сайт скоро появится» page.Rollback and picking a buildHow to bring back the previous build on the main address or publish any ready build — with dashboard buttons and the layero rollback and layero promote commands.Build retentionHow many ready builds Layero keeps for rollback, what happens to old branches, how to go back to an old version and how to download the sources of an upload.