Learn how to publish your website online using Silex and GitLab. Follow these engaging steps to ensure your website is live and accessible to the public, for free.
Did you know: there is a page in the docs about publication
Click "Publish" to initiate the website publication process.
Select GitLab.com because it is the recommended and simplest option.
Click "Publish" to proceed with the website publication.
Click "Your website is now live here" and verify that your website is live.
Your website is online - but private for now
Your website is live at a URL which represents this project - you can add a custom domain if you want for free.
If you encounter an error, this may be due to your user being new and GitLab wants to verify it.
Check if it is the case:
At this point, if you can see the error: "Before you can run pipelines, we need to verify your account.", click on the button "Verify my account" and provide a phone number.
Make your website public: start by going to GitLab Pages settings.
You will be directed to this page with a text explaining that your website can only be viewed by you
Adjust website visibility settings for public access.
Click "General". Access the general settings of your project.
Click "Visibility, project features, permissions"
Change from "Only Project Members" to "Everyone"
Save the updated visibility settings.
Your website is online and public now, you can send the URL with friends;
This guide covers the process of publishing your website online using Silex and GitLab. From initiating the publication process to adjusting visibility settings, track deployment progress, and ensure public access to your website.