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.
autonomic.zone/.gitlab-ci.yml

29 lines
540 B
YAML
Raw Normal View History

2017-10-04 13:36:04 +00:00
stages:
- deploy
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:
- rm Gemfile
2017-10-13 20:56:13 +00:00
- jekyll build -d public
- 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
test with latest jekyll:
image: jekyll/jekyll:latest
stage: deploy
script:
- rm Gemfile
- jekyll build -d public