1
0

.gitlab-ci.yml 777 B

12345678910111213141516171819202122232425262728
  1. # This file is a template, and might need editing before it works on your project.
  2. # To contribute improvements to CI/CD templates, please follow the Development guide at:
  3. # https://docs.gitlab.com/ee/development/cicd/templates.html
  4. # This specific template is located at:
  5. # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/Jekyll.gitlab-ci.yml
  6. # Template project: https://gitlab.com/pages/jekyll
  7. # Docs: https://docs.gitlab.com/ee/pages/
  8. image: ruby:2.7
  9. variables:
  10. JEKYLL_ENV: production
  11. LC_ALL: C.UTF-8
  12. before_script:
  13. - gem install bundler -v 2.4.22
  14. - bundle install
  15. pages:
  16. stage: deploy
  17. script:
  18. - bash deploy.sh
  19. artifacts:
  20. paths:
  21. - public
  22. only:
  23. variables:
  24. - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH