1 | <?php |
||||||
2 | |||||||
3 | namespace Deployer; |
||||||
4 | |||||||
5 | require 'recipe/symfony4.php'; |
||||||
6 | |||||||
7 | set('application', 'owncourses'); |
||||||
1 ignored issue
–
show
Bug
introduced
by
![]() |
|||||||
8 | set('default_stage', 'demo'); |
||||||
9 | |||||||
10 | set('env', function () { |
||||||
11 | return [ |
||||||
12 | 'APP_ENV' => has('symfony_env') ? get('symfony_env') : 'prod', |
||||||
2 ignored issues
–
show
The function
get was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() The function
has was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
13 | ]; |
||||||
14 | }); |
||||||
15 | |||||||
16 | set('repository', '[email protected]:owncourses/courses-server.git'); |
||||||
17 | set('git_tty', true); |
||||||
18 | set('shared_files', [ |
||||||
19 | '.env.local', |
||||||
20 | '.env.local.php', |
||||||
21 | 'config/jwt/private.pem', |
||||||
22 | 'config/jwt/public.pem', |
||||||
23 | ]); // reset sharing .env |
||||||
24 | |||||||
25 | inventory('hosts.yml'); |
||||||
1 ignored issue
–
show
The function
inventory was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
26 | |||||||
27 | after('deploy:failed', 'deploy:unlock'); |
||||||
1 ignored issue
–
show
The function
after was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
28 | before('deploy:symlink', 'database:migrate'); |
||||||
1 ignored issue
–
show
The function
before was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
29 |