Adding retry logic for creatin the tar ball to ensure what we upload is valid.
Looping back to creating the tar ball instead of looping on the download.
Adding validation function to the deploy_ftp.sh script to ensure the upload was successful. If the upload was not successful, the script will exit with status code 1 and fail the build
To manage deploy secrets in GitHub, go to the repository page, click
Settings, then Environments, then Deploy, then scroll down to
Environment secrets.