diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d17b8a9..d13033d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: ruby:latest +image: ruby:3.1 variables: JEKYLL_ENV: production @@ -17,6 +17,17 @@ test: except: - master +build: + stage: build + script: + - apt-get update + - apt-get install -y zip + - bundle exec jekyll build -d butter-site + - zip -r content.zip butter-site + artifacts: + paths: + - content.zip + pages: stage: deploy script: