Skip to content

Commit bbea358

Browse files
[IMPROVE] restricted rsync glitch
* **Description:** Fixing problem of the wrong folder path.
1 parent ac0753a commit bbea358

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

scripts/deploy

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#!/bin/bash
22

3-
./scripts/build
3+
chmod 600 ./keypair.pem || exit
44

5-
chmod 600 ./keypair.pem
5+
rsync -avr --rsh="ssh -i keypair.pem -o StrictHostKeyChecking=no" --delete-after --delete-excluded _site/ [email protected]:/blog/ || exit
66

7-
rsync -avr --rsh="ssh -i keypair.pem -o StrictHostKeyChecking=no" --delete-after --delete-excluded _site/ [email protected]:/home/travis_ftp/html/blog/
8-
9-
rm ./keypair.pem
7+
rm ./keypair.pem || exit

0 commit comments

Comments
 (0)