Update archive target.
This commit is contained in:
parent
5f882d1b37
commit
4bfced411c
|
@ -1,7 +1,8 @@
|
|||
DEPLOY_HOST=wisc
|
||||
ARCHIVE_HOST=jackknife
|
||||
DEPLOY=/u/j/u/justhsu/public/html-s/teaching/current/cs763
|
||||
ARCHIVE=/home/justhsu/teaching/f20/cs763
|
||||
|
||||
ARCHIVE_HOST=jackfruit
|
||||
ARCHIVE=/var/www/html/teaching/f20/cs763
|
||||
|
||||
build:
|
||||
make assets && mkdocs build
|
||||
|
@ -27,4 +28,5 @@ archive:
|
|||
make build
|
||||
find . -type d -exec chmod a+rx {} \;
|
||||
find . -type f -exec chmod a+r {} \;
|
||||
rsync -avzp --relative $(ARCHIVE) -e ssh ./site/ $(ARCHIVE_HOST)
|
||||
ssh $(ARCHIVE_HOST) mkdir -p $(ARCHIVE)
|
||||
rsync -avzp --delete -e ssh ./site/ $(ARCHIVE_HOST):$(ARCHIVE)
|
||||
|
|
Reference in New Issue