The objective is to deploy the static website created in Application Note 1 to gitlab.
Provide a summary of instructions and procedures in the form of bash scripts
Procedures
Step 1 : Create .gitlab-ci.yml in the root of the hexo static web site
the .gitlab-ci.yml file is a script that tells the gitlab CI/CD system how to build and deploy the website on the server.
the script creates a linux/nodejs based docker image, installs hexo into it and then copies the web site files over to it. The web site is hosted on that docker image
check the pipeline for errors (note the URL of the gitlab page can be found on the gitlab repo page under Settings/Pages)
NOTE** make sure the web page is visible to everyone: goto “Settings/General”/“Visibility, project features, permissions” on the gitlab project web page, and set “Pages” visibility to “Everyone”.