update travis
This commit is contained in:
parent
782d1c0607
commit
f31746b6ef
1 changed files with 6 additions and 1 deletions
|
|
@ -37,4 +37,9 @@ jobs:
|
|||
- firmware_dir=`ls`
|
||||
- sudo sh -c "echo StrictHostKeyChecking no >>/etc/ssh/ssh_config"
|
||||
- chmod -R 777 $firmware_dir
|
||||
- sshpass -p ${USER_PASSWD} rsync -av --progress $firmware_dir ${SERVER_USER}@${SERVER_ADDR}:${SERVER_FOLDER_PATH}/${curr_branch}/
|
||||
- SSHPATH="$HOME/.ssh"
|
||||
- rm -rf "$SSHPATH"
|
||||
- mkdir -p "$SSHPATH"
|
||||
- echo "${ACCESS_KEY}" > "$SSHPATH/id_rsa"
|
||||
- chmod 600 "$SSHPATH/id_rsa"
|
||||
- rsync -av --progress $firmware_dir ${SERVER_USER}@${SERVER_ADDR}:${SERVER_FOLDER_PATH}/${curr_branch}/
|
||||
|
|
|
|||
Loading…
Reference in a new issue