Beispiel #1
0
        }
        .output {
            color: #999;
        }
    </style>
</head>
<body>
<pre>
<?php 
$deploy = new GitDeploy($HTTP_RAW_POST_DATA);
?>
Running as <b><?php 
echo trim(shell_exec('whoami'));
?>
</b>.
Checking the environment ...
<?php 
$deploy->CheckEnvironment();
?>
Environment OK.
Start deploy.
<?php 
$deploy->RunCommands($deploy->GitPull());
$deploy->SetConfigFromJson();
$deploy->RunCommands($deploy->AfterGitPull());
$deploy->RunCommands($deploy->Deploy());
?>
Deploy done.
</pre>
</body>
</html>