Skip to content

Commit

Permalink
Unable to read the .env environment file
Browse files Browse the repository at this point in the history
This fixes issues like EasyCorp#87
```
Unable to read the "... .env" environment file. in ...
```
  • Loading branch information
numediaweb authored May 31, 2020
1 parent 8357c08 commit 3c1ad54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Deployer/DefaultDeployer.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private function doUpdateCode(): void
$this->runRemote(sprintf('if [ -d {{ deploy_dir }}/repo ]; then cd {{ deploy_dir }}/repo && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard %s && git clean -q -d -x -f; else git clone -q -b %s %s {{ deploy_dir }}/repo && cd {{ deploy_dir }}/repo && git checkout -q -b deploy %s; fi', $repositoryRevision, $this->getConfig(Option::repositoryBranch), $this->getConfig(Option::repositoryUrl), $repositoryRevision));

$this->log('<h3>Copying the updated code to the new release directory</>');
$this->runRemote(sprintf('cp -RPp {{ deploy_dir }}/repo/* {{ project_dir }}'));
$this->runRemote(sprintf('cp -pPRT {{ deploy_dir }}/repo/* {{ project_dir }}'));
}

private function doCreateCacheDir(): void
Expand Down

0 comments on commit 3c1ad54

Please sign in to comment.