medlab-website-archival/.gitlab-ci.yml

29 lines
681 B
YAML

# FTP auto-deploy; instructions here: https://is.gd/D84vXz
image: ruby:2.4.1
stages:
- deploy
before_script:
# - apt-get update -qq && apt-get install -y -qq libcurl4-openssl-dev lftp
- apt-get update -qq && apt-get install -y -qq rsync sshpass
- bundle install
- gem install jekyll
- gem install jekyll-deploy
- jekyll deploy
#deploy_script:
# stage: deploy
# only:
# - master
# environment:
# name: website
# url: https://cmci.colorado.edu/cmci
# script:
# - echo "Building.."
# - chmod +x ./_scripts/build.sh
# - ./_scripts/build.sh
# - echo "Deploying.."
# - chmod +x ./_scripts/deploy_website.sh
# - ./_scripts/deploy_website.sh