Trying rsync
This commit is contained in:
parent
23c0516e7f
commit
e27537b358
@ -4,7 +4,8 @@ stages:
|
|||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
before_script:
|
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
|
- bundle install
|
||||||
- gem install jekyll
|
- gem install jekyll
|
||||||
|
|
||||||
@ -17,9 +18,12 @@ deploy_script:
|
|||||||
url: https://cmci.colorado.edu/cmci
|
url: https://cmci.colorado.edu/cmci
|
||||||
script:
|
script:
|
||||||
- echo "Building.."
|
- echo "Building.."
|
||||||
- chmod +x ./_scripts/build.sh
|
- bundle exec jekyll build --config _config.yml
|
||||||
- ./_scripts/build.sh
|
|
||||||
- echo "Deploying.."
|
- echo "Deploying.."
|
||||||
- chmod +x ./_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
|
||||||
- ./_scripts/deploy_website.sh
|
- 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