Skip to content

Commit

Permalink
WIP calculate changed apps
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Aug 28, 2024
1 parent 4b5d31b commit 1e5ea6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/ci/transfer-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ for (const transfer of transfers) {
const localFile = `../../${(targetFileIsRemote ? sourceFile : targetFile)}`;
if (targetFileIsRemote) {
console.log(`Uploading ${localFile} to ${remoteFile}`);
await sftp.put(sourceFile, remoteFile);
await sftp.put(localFile, remoteFile);
} else {
console.log(`Downloading ${remoteFile} to ${localFile}`);
await sftp.get(sourceFile, remoteFile);
await sftp.get(remoteFile, localFile);
}
} catch (error) {
console.error("Error:", error.message);
Expand Down

0 comments on commit 1e5ea6f

Please sign in to comment.