action: use sftp
This commit is contained in:
parent
1bb5e3f27b
commit
c23828dd73
1 changed files with 1 additions and 3 deletions
|
@ -53,6 +53,4 @@ jobs:
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: sshpass -p ${{ secrets.DOC_SFTP_PWD }}
|
run: sshpass -p ${{ secrets.DOC_SFTP_PWD }}
|
||||||
rsync -avz --delete
|
sftp my_webapp@semalibre.com <<< "put website/ wwwnext/; rename www wwwold; rename wwwnext www"
|
||||||
-e "ssh -o StrictHostKeyChecking=no"
|
|
||||||
website/ my_webapp@semalibre.com:~/wwwtest/
|
|
||||||
|
|
Loading…
Reference in a new issue