website/.gitlab-ci.yml
2019-02-24 01:57:41 +02:00

11 lines
369 B
YAML

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