cross-solution /
YAWIK
| 1 | <?php |
||||||
| 2 | namespace Deployer; |
||||||
| 3 | |||||||
| 4 | require 'recipe/zend_framework.php'; |
||||||
| 5 | |||||||
| 6 | // Project name |
||||||
| 7 | set('application', 'Yawik'); |
||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||||
| 8 | |||||||
| 9 | // Project repository |
||||||
| 10 | set('repository', '[email protected]:yawik/yawik.git'); |
||||||
| 11 | |||||||
| 12 | // Shared files/dirs between deploys |
||||||
| 13 | add('shared_files', [ |
||||||
|
0 ignored issues
–
show
The function
add 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
Loading history...
|
|||||||
| 14 | 'public/.htaccess', |
||||||
| 15 | ]); |
||||||
| 16 | add('shared_dirs', [ |
||||||
| 17 | 'var/log', |
||||||
| 18 | 'var/cache', |
||||||
| 19 | 'config/autoload', |
||||||
| 20 | 'public/static' |
||||||
| 21 | ]); |
||||||
| 22 | |||||||
| 23 | // Writable dirs by web server |
||||||
| 24 | add('writable_dirs', [ |
||||||
| 25 | 'var/cache', |
||||||
| 26 | 'var/log', |
||||||
| 27 | 'public/static' |
||||||
| 28 | ]); |
||||||
| 29 | |||||||
| 30 | set('default_stage', 'staging'); |
||||||
| 31 | |||||||
| 32 | host('staging.yawik.org') |
||||||
|
0 ignored issues
–
show
The function
host 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
Loading history...
|
|||||||
| 33 | ->user('yawik') |
||||||
| 34 | ->stage('staging') |
||||||
| 35 | ->multiplexing(false) |
||||||
| 36 | ->set('deploy_path', '/var/www/staging'); |
||||||
| 37 | |||||||
| 38 | #after('deploy:symlink', 'cachetool:clear:opcache'); |
||||||
| 39 | |||||||
| 40 | // [Optional] if deploy fails automatically unlock. |
||||||
| 41 | after('deploy:failed', 'deploy:unlock'); |
||||||
|
0 ignored issues
–
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
Loading history...
|
|||||||
| 42 | |||||||
| 43 |