diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..29afffb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +# This file is a template, and might need editing before it works on your project. +# Full project: https://gitlab.com/pages/plain-html + +image: busybox + +pages: + stage: deploy + script: + - echo "The site will be deployed to $CI_PAGES_URL" + artifacts: + paths: + - public + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..ac317a8 --- /dev/null +++ b/public/index.html @@ -0,0 +1,23 @@ + + + + + + Plain HTML site using GitLab Pages + + + + + +

Hello World!

+ +

+ This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator. +

+ + + diff --git a/public/style.css b/public/style.css new file mode 100644 index 0000000..69b64f3 --- /dev/null +++ b/public/style.css @@ -0,0 +1,25 @@ +body { + font-family: sans-serif; + margin: auto; + max-width: 1280px; + } + + .navbar { + background-color: #313236; + border-radius: 2px; + max-width: 800px; + } + + .navbar a { + color: #aaa; + display: inline-block; + font-size: 15px; + padding: 10px; + text-decoration: none; + } + + .navbar a:hover { + color: #ffffff; + } + + \ No newline at end of file