Skip to content

Commit

Permalink
Update daily.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ElementalCrisis authored Oct 7, 2024
1 parent 33e2956 commit c60edb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
$sftp_script_path = "$env:TEMP\sftp_script.txt"
$sftp_script | Out-File -FilePath $sftp_script_path
# Use PSFTP to upload the file via SFTP
& "$env:TEMP\psftp.exe" -batch -pw $env:FTP_PASSWORD $env:FTP_USERNAME@$env:FTP_SERVER -b $sftp_script_path
# Use PSFTP to upload the file via SFTP with host key checking disabled
& "$env:TEMP\psftp.exe" -batch -o StrictHostKeyChecking=no -pw $env:FTP_PASSWORD $env:FTP_USERNAME@$env:FTP_SERVER -b $sftp_script_path
# Cleanup the temporary script file
Remove-Item $sftp_script_path

0 comments on commit c60edb5

Please sign in to comment.