Skip to content

Commit

Permalink
Issue #535: Code Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
leonel-lullabot committed May 16, 2024
1 parent 2ff1061 commit 468b177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScaffoldInstallerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private function installCICommands(): void
$fs->ensureDirectoryExists('./.github/actions/drainpipe/pantheon');
$fs->ensureDirectoryExists('./.github/workflows');
$fs->copy("$scaffoldPath/github/actions/pantheon", './.github/actions/drainpipe/pantheon');
$pantheon_review_apps = $github === 'PantheonReviewAppsManual' ?: 'PantheonReviewApps';
$pantheon_review_apps = ($github === 'PantheonReviewApps') ? 'PantheonReviewApps' : 'PantheonReviewAppsManual';
if (file_exists('./.ddev/config.yaml')) {
$pantheon_review_apps_ddev = $pantheon_review_apps . 'DDEV';
$fs->copy("$scaffoldPath/github/workflows/$pantheon_review_apps_ddev.yml", './.github/workflows/PantheonReviewApps.yml');
Expand Down

0 comments on commit 468b177

Please sign in to comment.