Skip to content

Commit

Permalink
http_userとwritable_modeの設定を記述した
Browse files Browse the repository at this point in the history
http_userのIssue

気にしなくても良いと言われたが気持ちわるいので、エラーがでないようにした
[Can't detect http user name. Please setup `http_user` config parameter. · Issue #1649 · deployphp/deployer](deployphp/deployer#1649)

writable_modeのIssue

deployphp/deployer#1118 (comment)
  • Loading branch information
Fendo181 committed Dec 19, 2018
1 parent 6155256 commit a94d3c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// 'master'
set('branch', '{Your Branch Name}');
set('git_tty', false);
set('http_user', 'www-data');
set('writable_mode', 'chmod');

add('shared_files', ['.env']);
add('shared_dirs', []);
Expand Down Expand Up @@ -39,4 +41,4 @@
after('deploy:failed', 'deploy:unlock');

// Migrate database before symlink new release.
before('deploy:symlink', 'artisan:migrate');
// before('deploy:symlink', 'artisan:migrate');

0 comments on commit a94d3c1

Please # to comment.