From c68e09376337ab28a8f4caa5eef4daba375dce58 Mon Sep 17 00:00:00 2001 From: onomanapeia Date: Thu, 26 Sep 2024 12:58:16 -0500 Subject: [PATCH] please build? --- .gitlab-ci.yml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0746fd8..29a7fdd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,17 @@ -# requiring the environment of Ruby 2.3.x - image: ruby:2.3 - # add bundle cache to 'vendor' for speeding up builds - cache: - paths: - - vendor/ - before_script: - - bundle install --path vendor - # the 'pages' job will deploy and build your site to the 'public' path - pages: - stage: deploy - script: - - bundle exec jekyll build -d public/ - artifacts: - paths: - - public - only: - - master # this job will affect only the 'master' branch \ No newline at end of file +image: ruby:latest + +variables: + JEKYLL_ENV: production + LC_ALL: C.UTF-8 + +before_script: + - gem install bundler + - bundle install + +pages: + stage: deploy + script: + - bundle exec jekyll build -d public + artifacts: + paths: + - public