23 November 2020
On GitLab:
2.1 Your project name will be the path of your pages name like: https://’YourGitLabName’.gitlab.io/’YourProjectName’/
2.2 Choose Visibility Level to Public, then click ‘Create project’ button.
7.1 Create New File » master/.gitlab-ci.yml
7.2 Copy these text to the file:image: ruby:2.7
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
7.3 Commit changes to finish.
8.1 Click shortcut CI/CD button on the left of the screen (Rocket icon).
8.2 Select ‘Pipelines’
Although my profile picture is quiet, but the real me can make some noise.Author: Vuttawat Uyanont Sexiest former engineer and banker who interested in IT & Tech, Sake, and Beer. Studying: Master Computer Science in Cybersecurity Management at Mahanakorn University. |