.gitlab-ci.yml 681 B

12345678910111213141516171819202122232425262728
  1. # FTP auto-deploy; instructions here: https://is.gd/D84vXz
  2. image: ruby:2.4.1
  3. stages:
  4. - deploy
  5. before_script:
  6. # - apt-get update -qq && apt-get install -y -qq libcurl4-openssl-dev lftp
  7. - apt-get update -qq && apt-get install -y -qq rsync sshpass
  8. - bundle install
  9. - gem install jekyll
  10. - gem install jekyll-deploy
  11. - jekyll deploy
  12. #deploy_script:
  13. # stage: deploy
  14. # only:
  15. # - master
  16. # environment:
  17. # name: website
  18. # url: https://cmci.colorado.edu/cmci
  19. # script:
  20. # - echo "Building.."
  21. # - chmod +x ./_scripts/build.sh
  22. # - ./_scripts/build.sh
  23. # - echo "Deploying.."
  24. # - chmod +x ./_scripts/deploy_website.sh
  25. # - ./_scripts/deploy_website.sh