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
 * Yii 2 Basic Project Template configuration
8
 */
9
10
// Yii 2 Basic Project Template shared dirs
11
set('shared_dirs', ['runtime']);
12
13
/**
14
 * Run migrations
15
 */
16
task('deploy:run_migrations', function () {
17
    run('{{bin/php}} {{release_path}}/yii migrate up --interactive=0');
18
})->desc('Run migrations');
19
20
/**
21
 * Main task
22
 */
23
task('deploy', [
24
    'deploy:info',
25
    'deploy:setup',
26
    'deploy:lock',
27
    'deploy:release',
28
    'deploy:update_code',
29
    'deploy:shared',
30
    'deploy:vendors',
31
    'deploy:writable',
32
    'deploy:run_migrations',
33
    'deploy:symlink',
34
    'deploy:unlock',
35
    'deploy:cleanup',
36
])->desc('Deploy your project');
37
38
after('deploy', 'success');
39