Jekyll
Deployment
To deploy a Jekyll website on Hostman, follow these steps.
Step 1. Run the build
Run the build on your local machine by using the command:
jekyll build
It will create the _site directory with the project’s files that you will need for deployment.
Step 2. Create a service
In your Hostman Dashboard click Create in the top-left corner and choose Front-end app or static website.
Step 3. Select the project to deploy
If you are logged in to Hostman with your GitHub, GitLab or Bitbucket account, at this point you will see the repository with your projects, including the private ones.
To access a different repository, click Connect another repository.
If you didn’t use your Git account credentials to log in, you’ll be able to access the necessary account now.
Choose the project you want to deploy. It must contain the _site directory (or the contents of the _site directory).
Step 4. Configure the build settings
Next, the Website customization window will appear.
Choose the Static website option from the list of frameworks.
The Directory with app points at the directory that contains the project's files. For Jekyll it is _site.
The Build command field should be left blank.
Step 5. Deploy
Click Deploy to start the build process.
Once it starts, you will enter the deployment log. If there are any issues with the code, you will get warning or error messages in the log, specifying the cause of the problem.
Usually the log contains all the debugging data you'll need, but we are also here to help you solve the issues, so do not hesitate to contact us via chat.
When the deployment is complete, you will receive an e-mail notification and also see a similar log entry:
All done!
Your project is up and ready.