Merge pull request #4 from JulianGro/ssh_mkdir

Create directory if needed
This commit is contained in:
wl authored and GitHub committed 2020-07-05 15:43:27 +08:00
commit b2206dcb19
2 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -58,7 +58,7 @@ args of sftp cmd, E.g.`-o ConnectTimeout=5`
server: 'your server ip'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
local_path: './static/*'
remote_path: '/var/www/app' #make sure dir exist
remote_path: '/var/www/app'
args: '-o ConnectTimeout=5'
## 1. [Deploy React App Example](https://github.com/wlixcc/React-Deploy)
@@ -129,4 +129,4 @@ args of sftp cmd, E.g.`-o ConnectTimeout=5`