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

26 lines
555 B
YAML
Raw Normal View History

2019-07-10 17:46:21 +00:00
# FTP auto-deploy; instructions here: https://is.gd/D84vXz
image: ruby:2.4.1
stages:
- deploy
before_script:
2019-07-10 22:21:51 +00:00
- apt-get update -qq && apt-get install -y -qq libcurl4-openssl-dev lftp
2019-07-10 18:19:08 +00:00
- bundle install
- gem install jekyll
2019-07-10 22:20:19 +00:00
2019-07-10 22:21:51 +00:00
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