From 0f97653e439c25559196dd7a09a3434819b27c73 Mon Sep 17 00:00:00 2001 From: onomanapeia Date: Thu, 26 Sep 2024 12:56:23 -0500 Subject: [PATCH] oops need a build command for jekyll now lmao --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..0746fd8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +# 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