Trying rsync
This commit is contained in:
parent
23c0516e7f
commit
e27537b358
@ -4,7 +4,8 @@ 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 libcurl4-openssl-dev lftp
|
||||
- apt-get update -qq && apt-get install -y -qq rsync sshpass
|
||||
- bundle install
|
||||
- gem install jekyll
|
||||
|
||||
@ -17,9 +18,12 @@ deploy_script:
|
||||
url: https://cmci.colorado.edu/cmci
|
||||
script:
|
||||
- echo "Building.."
|
||||
- chmod +x ./_scripts/build.sh
|
||||
- ./_scripts/build.sh
|
||||
- bundle exec jekyll build --config _config.yml
|
||||
- echo "Deploying.."
|
||||
- chmod +x ./_scripts/deploy_website.sh
|
||||
- ./_scripts/deploy_website.sh
|
||||
- rsync -crPze ssh --delete --rsh="sshpass -p $CU_PASSWORD ssh -o StrictHostKeyChecking=no " _site/* $CU_USR@$CU_HOSTNAME:/data/web/htdocs/cmci/medlab
|
||||
- echo "Done!"
|
||||
# - chmod +x ./_scripts/build.sh
|
||||
# - ./_scripts/build.sh
|
||||
# - chmod +x ./_scripts/deploy_website.sh
|
||||
# - ./_scripts/deploy_website.sh
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user