image: jekyll/builder variables: JEKYLL_ENV: production LC_ALL: C.UTF-8 GIT_SUBMODULE_STRATEGY: recursive stages: - build - deploy before_script: - apt install rsync - ./scripts/ci_fix_baseurl.sh build: stage: build cache: key: gems paths: - "/usr/local/bundle/cache" script: - bundle install - jekyll build -d public production: stage: deploy script: - ./scripts/ci_deploy_site.sh public only: - master pages: stage: deploy artifacts: paths: - public only: - develop