Skip to content

Commit

Permalink
fix: fix deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Oct 21, 2020
1 parent 6c6fb1a commit c105963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@ server {

// Copy over the built dist folder
console.log(`Creating ${DIST_REMOTE_FOLDER}`);
await ssh.putDirectory(DIST_LOCAL_FOLDER, DIST_REMOTE_FOLDER, sftp);
await ssh.putDirectory(DIST_LOCAL_FOLDER, DIST_REMOTE_FOLDER, {concurrency: 1, sftp, transferOptions: {concurrency: 1}});

// Copy over the built polyfill-lib folder
console.log(`Creating ${POLYFILL_LIB_REMOTE_FOLDER}`);
await ssh.putDirectory(POLYFILL_LIB_LOCAL_FOLDER, POLYFILL_LIB_REMOTE_FOLDER, sftp);
await ssh.putDirectory(POLYFILL_LIB_LOCAL_FOLDER, POLYFILL_LIB_REMOTE_FOLDER, {concurrency: 1, sftp, transferOptions: {concurrency: 1}});

// Install
console.log(`Installing`);
Expand Down

0 comments on commit c105963

Please sign in to comment.