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
// Flow-Framework application-context
7
set('flow_context', 'Production');
8
9
// Flow-Framework cli-command
10
set('flow_command', 'flow');
11
12
// Flow-Framework shared directories
13
set('shared_dirs', [
14
    'Data/Persistent',
15
    'Data/Logs',
16
    'Configuration/{{flow_context}}'
17
]);
18
19
/**
20
 * Apply database migrations
21
 */
22
task('deploy:run_migrations', function () {
23
    run('FLOW_CONTEXT={{flow_context}} {{bin/php}} {{release_path}}/{{flow_command}} doctrine:migrate');
24
})->desc('Apply database migrations');
25
26
/**
27
 * Publish resources
28
 */
29
task('deploy:publish_resources', function () {
30
    run('FLOW_CONTEXT={{flow_context}} {{bin/php}} {{release_path}}/{{flow_command}} resource:publish');
31
})->desc('Publish resources');
32
33
/**
34
 * Main task
35
 */
36
task('deploy', [
37
    'deploy:info',
38
    'deploy:setup',
39
    'deploy:lock',
40
    'deploy:release',
41
    'deploy:update_code',
42
    'deploy:vendors',
43
    'deploy:shared',
44
    'deploy:writable',
45
    'deploy:run_migrations',
46
    'deploy:publish_resources',
47
    'deploy:symlink',
48
    'deploy:unlock',
49
    'deploy:cleanup',
50
])->desc('Deploy your project');
51
52
after('deploy', 'success');
53