website/.gitlab-ci.yml

12 lines
369 B
YAML
Raw Normal View History

2019-02-23 23:57:41 +00:00
image: ruby:latest
pages:
script:
- bundle install
- bundle exec jekyll build -d public
- cp public/index.html public/404.html
- git clone https://github.com/google/zopfli.git && cd zopfli && gcc src/zopfli/*.c -O2 -W -Wall -Wextra -Wno-unused-function -ansi -pedantic -lm -o zopfli && ./zopfli $(find ../public -type f)
artifacts:
paths:
- public