This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
2017-10-04 13:36:04 +00:00
|
|
|
stages:
|
|
|
|
- deploy
|
|
|
|
|
2019-11-13 20:03:47 +00:00
|
|
|
variables:
|
|
|
|
GIT_DEPTH: 1
|
|
|
|
|
|
|
|
|
|
|
|
pages:
|
|
|
|
image: jekyll/jekyll:3.6
|
2017-10-13 20:56:13 +00:00
|
|
|
stage: deploy
|
2017-10-04 13:36:04 +00:00
|
|
|
script:
|
2019-11-13 20:03:47 +00:00
|
|
|
- rm Gemfile
|
2017-10-13 20:56:13 +00:00
|
|
|
- jekyll build -d public
|
2019-11-13 20:03:47 +00:00
|
|
|
- apk add gzip --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
|
|
|
|
- gzip -v -k -6 $(find public -name '*.js' -o -name '*.html' -o -name '*.css')
|
2017-08-31 11:44:57 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-10-13 20:56:13 +00:00
|
|
|
- public
|
2017-10-13 22:25:00 +00:00
|
|
|
only:
|
2018-08-21 17:06:34 +00:00
|
|
|
- master
|
2019-11-13 20:03:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
test with latest jekyll:
|
|
|
|
image: jekyll/jekyll:latest
|
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- rm Gemfile
|
|
|
|
- jekyll build -d public
|