Skip to content

Commit 7e45e07

Browse files
committed
bugfix: upload to new directory structure
1 parent 1d8ecce commit 7e45e07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/development/ZipAndUpload.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ await ssh.execCommand('unzip ./dist.zip', {cwd: '/var/www/sql-ide/htdocs-new'});
4646

4747
console.log(chalk.blue('tidying up...'));
4848
await ssh.execCommand('rm dist.zip', {cwd: '/var/www/sql-ide/htdocs-new'});
49-
await ssh.execCommand('mv htdocs /home/martin/backup/program_files/sql-ide/htdocs-old_' + date, {cwd: '/var/www/sql-ide'});
49+
await ssh.execCommand('mv htdocs /root/backup/program_files/sql-ide/htdocs-old_' + date, {cwd: '/var/www/sql-ide'});
5050
await ssh.execCommand('mv ./htdocs-new htdocs', {cwd: '/var/www/sql-ide'});
5151

5252
ssh.dispose();

0 commit comments

Comments
 (0)