mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 00:32:25 +01:00
Update info.php
This commit is contained in:
parent
41375c8b8c
commit
4ec52d645e
@ -3,11 +3,5 @@ namespace Deployer;
|
||||
|
||||
desc('Displays info about deployment');
|
||||
task('deploy:info', function () {
|
||||
$target = get('target');
|
||||
try {
|
||||
$target = runLocally("git rev-parse --abbrev-ref $target");
|
||||
} catch (\Throwable $exception) {
|
||||
// noop
|
||||
}
|
||||
info("deploying <fg=magenta;options=bold>$target</>");
|
||||
info("deploying <fg=magenta;options=bold>{{target}}</>");
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user