.gitlab-ci.yml 381 B

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