mirror of
https://github.com/ChenjxJames/SFTP-Deploy-Action.git
synced 2025-09-11 04:18:51 +08:00
1. fix mkdir issue
This commit is contained in:
@@ -14,10 +14,7 @@ chmod 600 $TEMP_SSH_PRIVATE_KEY_FILE
|
|||||||
|
|
||||||
echo 'ssh start'
|
echo 'ssh start'
|
||||||
|
|
||||||
ssh -o StrictHostKeyChecking=no -p $3 -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2
|
ssh -o StrictHostKeyChecking=no -p $3 -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2 mkdir -p $6
|
||||||
|
|
||||||
# create directory if needed
|
|
||||||
mkdir -p $6
|
|
||||||
|
|
||||||
echo 'sftp start'
|
echo 'sftp start'
|
||||||
# create a temporary file containing sftp commands
|
# create a temporary file containing sftp commands
|
||||||
|
Reference in New Issue
Block a user