Skip to content

Commit

Permalink
Update deploy-ftp.sh
Browse files Browse the repository at this point in the history
Adding the line that generates the tar files during build since we are not calling the SSH script right now.

Tweaking the local folder to be the full path. Maybe the folder where the FTP script starts out at is different
  • Loading branch information
oilcan-productions authored and Lars Brinkhoff committed Mar 7, 2023
1 parent db199cb commit 01f5706
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/deploy-ftp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ echo "login $USER" >> "$NETRC"
echo "password $FTP_SECRET" >> "$NETRC"
chmod 600 "$NETRC"

echo "Deploying to $USER@$HOST"
(cd out; tar czf $EMULATOR.tgz $EMULATOR)

echo "Deploying as $USER at $HOST"

ftp "$HOST" <<EOF
passive
type image
cd $DIR
lcd out
Expand Down

0 comments on commit 01f5706

Please sign in to comment.