Merge branch 'generate-archive' into 'butter-box'

Static Site Build using Gitlab CI

Closes #8 and #9

See merge request likebutter/butter-box-ui!12
This commit is contained in:
John Hess 2024-05-01 18:14:42 +00:00
commit 5e7307d403

View file

@ -1,4 +1,4 @@
image: ruby:latest image: ruby:3.1
variables: variables:
JEKYLL_ENV: production JEKYLL_ENV: production
@ -17,6 +17,17 @@ test:
except: except:
- master - 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: pages:
stage: deploy stage: deploy
script: script: