From 68555b4ac2143958295a7cffa70f43e85f1e461b Mon Sep 17 00:00:00 2001 From: Lheor Date: Tue, 1 Oct 2024 18:11:55 +0200 Subject: [PATCH] Testing the set up for now --- .gitlab-ci.yml | 6 ++++-- public/Gemfile | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 public/Gemfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f1699a..563b5aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,14 @@ # 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 +image: ruby:3.2 pages: stage: deploy script: - - echo "The site will be deployed to $CI_PAGES_URL" + - gem install bundler + - bundle install + - bundle exec jekyll build -d public artifacts: paths: - public diff --git a/public/Gemfile b/public/Gemfile new file mode 100644 index 0000000..3f6970c --- /dev/null +++ b/public/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem "jekyll" \ No newline at end of file