.gitlab-ci.yml 359 B

12345678910111213141516171819202122232425262728
  1. image: ruby:2.3
  2. variables:
  3. JEKYLL_ENV: production
  4. LC_ALL: C.UTF-8
  5. before_script:
  6. - bundle install
  7. test:
  8. stage: test
  9. script:
  10. - bundle exec jekyll build -d test
  11. artifacts:
  12. paths:
  13. - test
  14. except:
  15. - master
  16. pages:
  17. stage: deploy
  18. script:
  19. - bundle exec jekyll build -d public
  20. artifacts:
  21. paths:
  22. - public
  23. only:
  24. - master