Fixed deploy script

Signed-off-by: Jim Martens <>
This commit is contained in:
Jim Martens 2017-12-27 21:26:17 +01:00
parent 7449ec2c6d
commit 43beb0fce7
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/_site/*$TRAVIS_BUILD_ID
rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/_site/.$TRAVIS_BUILD_ID
ssh rm -rf tmp/
ssh mkdir tmp/
ssh mv html/* tmp/
ssh mv tmp/$TRAVIS_BUILD_ID/* html/
ssh mv html/{.,}* tmp/
ssh mv tmp/$TRAVIS_BUILD_ID/{.,}* html/
ssh rm -rf tmp/$TRAVIS_BUILD_ID