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:
commit
5e7307d403
1 changed files with 12 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue