Skip to content

Commit

Permalink
Update deployment.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
truongtphat authored Aug 19, 2023
1 parent 5a78a09 commit 6a5a5bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deployment/deployment.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# The 3 variables below store server and login details
HOST=$1
USER=$2
PASSWORD=$3
# HOST=$1
# USER=$2
# PASSWORD=$3

LOCALFOLDER=$4

Expand All @@ -16,7 +16,7 @@ cd "$LOCALFOLDER"
echo $1 $3 $3
# FTP login and upload is explained in paragraph below
ftp -inv $HOST <<EOF
user $USER $PASSWORD
user $USERNAME $PASSWORD

# Go to local current directory
cd "$REMOTEFOLDER"
Expand Down

0 comments on commit 6a5a5bf

Please sign in to comment.