GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code

< 40 %
40-60 %
> 60 %
1
<?php
2
namespace Deployer;
3
4
require_once __DIR__ . '/common.php';
5
6
/**
7
 * CakePHP 3 Project Template configuration
8
 */
9
10
// CakePHP 3 Project Template shared dirs
11
set('shared_dirs', [
12
    'logs',
13
    'tmp',
14
]);
15
16
// CakePHP 3 Project Template shared files
17
set('shared_files', [
18
    'config/app.php',
19
]);
20
21
/**
22
 * Create plugins' symlinks
23
 */
24
task('deploy:init', function () {
25
    run('{{release_path}}/bin/cake plugin assets symlink');
26
})->desc('Initialization');
27
28
/**
29
 * Run migrations
30
 */
31
task('deploy:run_migrations', function () {
32
    run('{{release_path}}/bin/cake migrations migrate');
33
    run('{{release_path}}/bin/cake orm_cache clear');
34
    run('{{release_path}}/bin/cake orm_cache build');
35
})->desc('Run migrations');
36
37
/**
38
 * Main task
39
 */
40
task('deploy', [
41
    'deploy:info',
42
    'deploy:setup',
43
    'deploy:lock',
44
    'deploy:release',
45
    'deploy:update_code',
46
    'deploy:shared',
47
    'deploy:vendors',
48
    'deploy:writable',
49
    'deploy:init',
50
    'deploy:run_migrations',
51
    'deploy:symlink',
52
    'deploy:unlock',
53
    'deploy:cleanup',
54
])->desc('Deploy your project');
55
56
after('deploy', 'success');
57