You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
340 B

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