Skip to content

Instantly share code, notes, and snippets.

Bitbucket headers detected
Checking the environment ...
Running as xxxxxx.
/usr/bin/git : git version 1.7.9.5
/usr/bin/rsync : rsync version 3.0.6 protocol version 30
Environment OK.
Deploying : xxxxx@bitbucket.org:xxxxx/secondtest.git (master)
to : /home2/xxxxxx/public_html/xxxxxxxxxx.com/
@gyalbu
gyalbu / config.php
Created October 14, 2017 10:32
config file
<?php
define('DISABLED', false);
define('IP_ALLOW', serialize(array(
)));
define('REMOTE_REPOSITORY', 'xxxxx@bitbucket.org:xxxxx/secondtest.git');
define('BRANCH', serialize(array(
'master',
'mybranch',
'yourbranch'
)));
### some parts in the bottom is truncated by BitBucket
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="robots" content="noindex">
<title>PHP Git deploy script</title>
<style>
body { padding: 0 1em; background: #222; color: #fff; }
h2, .error { color: #c33; } .prompt { color: #6be234; }.command { color: #729fcf; }.output { color: #999; }
No Bitbucket or Github webhook headers detected. Assumming manual trigger.
No branch specified, assuming default branch master
Checking the environment ...
Running as someone.
/usr/bin/git : git version 1.7.9.5
/usr/bin/rsync : rsync version 3.0.6 protocol version 30
Environment OK.
Deploying : xxxxx@bitbucket.org:xxxxx/testrepo.git (master)