Merge pull request #4 from JulianGro/ssh_mkdir

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

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`