.gitlab-ci.yml 291 B

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