Skip to content

Commit

Permalink
display DNS records
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Sep 2, 2021
1 parent 0d01bec commit a84166c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Commands/Output/DeploymentSuccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ protected function displayDnsRecordsChanges(Deployment $deployment)
Helpers::line();
}

Helpers::table([
'Domain', 'Alias / CNAME',
], collect($deployment->target_domains)->map(function ($target, $domain) {
return [$domain, $target['domain']];
})->all());

$vapor = Helpers::app(ConsoleVaporClient::class);

collect($vapor->zones($deployment->project['team_id']))->filter(function ($zone) use ($deployment) {
Expand Down

0 comments on commit a84166c

Please sign in to comment.