.gitlab-ci.yml 350 B

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