Adjusted deploy command to be indifferent to absolute path

This commit is contained in:
Nathan Schneider 2019-04-19 12:25:34 -06:00
parent 46f2371810
commit db5b2d1116
3 changed files with 2 additions and 10 deletions

View File

@ -8,7 +8,7 @@ source "https://rubygems.org"
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8.5"
# gem "jekyll", "~> 3.8.5"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.0"

View File

@ -4,8 +4,6 @@ GEM
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
commonmarker (0.18.2)
ruby-enum (~> 0.5)
concurrent-ruby (1.1.4)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
@ -29,9 +27,6 @@ GEM
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-commonmark (1.2.0)
commonmarker (~> 0.14)
jekyll (>= 3.0, < 4.0)
jekyll-deploy (0.0.2)
jekyll-feed (0.11.0)
jekyll (~> 3.3)
@ -59,8 +54,6 @@ GEM
rb-inotify (0.10.0)
ffi (~> 1.0)
rouge (3.3.0)
ruby-enum (0.7.2)
i18n
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.7.2)
@ -74,7 +67,6 @@ PLATFORMS
DEPENDENCIES
jekyll (~> 3.8.5)
jekyll-commonmark
jekyll-deploy
jekyll-feed (~> 0.6)
minima (~> 2.0)

View File

@ -36,7 +36,7 @@ collections:
deploy:
# - cd .. && jekyll build
# - cd .. && read -p 'Commit message: ' message && git commit -a -m $message
- rsync -crPze ssh --delete ~/Current/CU/medlab-web/_site/* nasc0399@cmci.colorado.edu:/data/web/htdocs/cmci/medlab
- rsync -crPze ssh --delete ./* nasc0399@cmci.colorado.edu:/data/web/htdocs/cmci/medlab
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list