CHG: ajustement into documentation

This commit is contained in:
Alfred Dagenais committed 2022-07-13 16:49:23 -04:00
1 parent da88a4dbe9
commit 7589349f24
2 files changed
+100 -78

No files matched your search

-3
View File
@@ -3,7 +3,6 @@
#set -e at the top of your script will make the script exit with an error whenever an error occurs (and is not explicitly handled)
set -eu
TEMP_SSH_PRIVATE_KEY_FILE='../private_key.pem'
TEMP_SFTP_FILE='../sftp'
@@ -13,7 +12,6 @@ if [ -z "$6" ]; then
exit 1
fi
# use password
if [ -z != ${10} ]; then
echo 'use sshpass'
@@ -67,4 +65,3 @@ sftp -b $TEMP_SFTP_FILE -P $3 $8 -o StrictHostKeyChecking=no -i $TEMP_SSH_PRIVAT
echo 'Deploy Success'
exit 0