26 lines
629 B
Plaintext
26 lines
629 B
Plaintext
<?php
|
|
/**
|
|
* Copy this file to deploy-config.php and fill secrets.
|
|
* deploy-config.php is ignored by git.
|
|
*/
|
|
return [
|
|
// REQUIRED: long random token (40+ chars)
|
|
'token' => 'CHANGE_ME_TO_LONG_RANDOM_TOKEN',
|
|
|
|
// Optional: HTTP Basic auth layer
|
|
'basic_auth_user' => '',
|
|
'basic_auth_pass' => '',
|
|
|
|
// Optional: allow only these client IPs (empty = allow all)
|
|
'allowed_ips' => [
|
|
// '1.2.3.4',
|
|
],
|
|
|
|
// Deploy options
|
|
'branch' => 'main',
|
|
'deploy_script' => __DIR__ . '/scripts/deploy.sh',
|
|
|
|
// Where to write webhook logs
|
|
'log_file' => __DIR__ . '/data/deploy-webhook.log',
|
|
];
|