Skip to content

Commit

Permalink
Missing release path in upload destination
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Jan 28, 2022
1 parent 3b4b498 commit 93412f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/task/cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
writeln($newCrontab, OutputInterface::VERBOSITY_VERBOSE);

file_put_contents('new_crontab.txt', $newCrontab);
upload('new_crontab.txt', 'new_crontab.txt');
upload('new_crontab.txt', '{{release_path}}/new_crontab.txt');

if (get('cron_dry_run') === false) {
run(sprintf('cat {{release_path}}/new_crontab.txt | crontab%s -', $cronUser !== '' ? (' -u ' . $cronUser) : ''));
Expand Down

0 comments on commit 93412f5

Please sign in to comment.