Skip to content

Commit

Permalink
home dir
Browse files Browse the repository at this point in the history
  • Loading branch information
stovak committed Feb 7, 2025
1 parent 9158b84 commit 6128b60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
PRIVATE_KEY: ${{ secrets.PANTHEON_PLATFORM_DEPLOY_KEY_PRIVATE }}
BASH_ENV: ~/.bashrc
WORKSPACE: ${{ github.workspace }}
HOME: ${{ github.workspace }}
HOME: /home/runner
GITHUB_REPOSITORY: ${{ github.repository }}
REF: ${{ github.ref }}

Expand Down
5 changes: 4 additions & 1 deletion RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ public function allowPlugins(string $site_name): int {
];

$site_folder = $this->getSiteFolder($site_name);
if (!is_dir($site_folder)) {
throw new TaskException($this, 'Site folder not found: ' . $site_folder);
}
chdir($site_folder);

foreach ($plugins as $plugin_name) {
Expand Down Expand Up @@ -221,7 +224,7 @@ public function requireMod(
chdir($site_folder);
// Always test again latest version of search_api_solr.
$this->taskExec('composer')
->cwd($site_folder)
->cwd($this->getSiteFolder($site_name))
->args(
'require',
$this->repository,
Expand Down

0 comments on commit 6128b60

Please sign in to comment.