.gitlab-ci.yml 291 B

1234567891011121314151617181920212223
  1. image: ruby:2.3
  2. test:
  3. stage: test
  4. script:
  5. - bundle
  6. - bundle exec jekyll build -d test
  7. artifacts:
  8. paths:
  9. - test
  10. except:
  11. - master
  12. pages:
  13. stage: deploy
  14. script:
  15. - bundle
  16. - bundle exec jekyll build -d public
  17. artifacts:
  18. paths:
  19. - public
  20. only:
  21. - master