Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Commit

Permalink
Fixed a script tag bug during live step.
Browse files Browse the repository at this point in the history
  • Loading branch information
warrickbayman committed Oct 21, 2021
1 parent d85a7ca commit 99c0a2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Deployer.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ protected function liveTask(string $releaseId): Task

$commands = [
'cd '.$this->server->root(),
...$this->server->script('before-live', $this->server->root()),
...$this->server->script('before-live', $releaseId, $this->server->root()),
'ln -nfs '.$releasePath.' '.$this->server->path('serve'),
...$this->server->script('after-live', $this->server->root()),
...$this->server->script('after-live', $releaseId, $this->server->root()),
'printf "\033c"',
];

Expand Down

0 comments on commit 99c0a2b

Please sign in to comment.