.gitlab-ci.yml 651 B

123456789101112131415161718192021222324252627
  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. - jekyll deploy
  11. #deploy_script:
  12. # stage: deploy
  13. # only:
  14. # - master
  15. # environment:
  16. # name: website
  17. # url: https://cmci.colorado.edu/cmci
  18. # script:
  19. # - echo "Building.."
  20. # - chmod +x ./_scripts/build.sh
  21. # - ./_scripts/build.sh
  22. # - echo "Deploying.."
  23. # - chmod +x ./_scripts/deploy_website.sh
  24. # - ./_scripts/deploy_website.sh