Skip to content

Commit

Permalink
fix(docs): typos in supervisord-monitor example (deployphp#3564)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamsch authored Apr 6, 2023
1 parent d99377d commit f075f88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contrib/supervisord-monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
host('staging.myproject.com')
->set('branch', 'develop')
->set('labels' => ['stage' => 'staging']);
->set('labels', ['stage' => 'staging']);
host('myproject.com')
->set('branch', 'main')
->set('labels' => ['stage' => 'production']);
->set('labels', ['stage' => 'production']);
// Tasks
task('build', function () {
Expand All @@ -80,7 +80,7 @@
task('deploy', [
'build',
'supervisord',
])
]);
task('supervisord', ['supervisord-monitor:restart'])
->select('stage=production');
Expand Down
6 changes: 3 additions & 3 deletions docs/contrib/supervisord-monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ set('supervisord', [
host('staging.myproject.com')
->set('branch', 'develop')
->set('labels' => ['stage' => 'staging']);
->set('labels', ['stage' => 'staging']);
host('myproject.com')
->set('branch', 'main')
->set('labels' => ['stage' => 'production']);
->set('labels', ['stage' => 'production']);
Tasks
task('build', function () {
Expand All @@ -92,7 +92,7 @@ task('build', function () {
task('deploy', [
'build',
'supervisord',
])
]);
task('supervisord', ['supervisord-monitor:restart'])
->select('stage=production');
Expand Down

0 comments on commit f075f88

Please sign in to comment.