Static Site Build using Gitlab CI

This commit is contained in:
Arky 2024-05-01 18:14:42 +00:00 committed by John Hess
parent 08005b791d
commit 93a6015ade

View file

@ -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: