| @@ -34,7 +34,7 @@ gzip -f /tmp/sfm_loan_rest_api_dist/syd_credit.sql | |||
| echo "copy it to remote server" | |||
| scp /tmp/sfm_loan_rest_api_dist/syd_credit.sql.gz root@c5016.biukop.com.au:/var/sfmapi/tmp/dist/ | |||
| echo "sync files to remote server" | |||
| rsync -avh /tmp/sfm_loan_rest_api_dist/ root@c5016.biukop.com.au:/var/sfmapi/tmp/dist/ | |||
| rsync -avh --delete /tmp/sfm_loan_rest_api_dist/ root@c5016.biukop.com.au:/var/sfmapi/tmp/dist/ | |||
| # remote update | |||