Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit db35f3b

Browse filesBrowse files
authored
Merge pull request lorisleiva#87 from sietse85/master
add config:clear support
2 parents aa8ca72 + c177232 commit db35f3b
Copy full SHA for db35f3b

File tree

Expand file treeCollapse file tree

3 files changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-0
lines changed

‎docs/all-tasks.md

Copy file name to clipboardExpand all lines: docs/all-tasks.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ php artisan deploy:list namespace # List all tasks starting with `namespace:`
2020
| `ssh` | Connect to host through ssh |
2121
| `artisan:cache:clear` | Execute artisan cache:clear |
2222
| `artisan:config:cache` | Execute artisan config:cache |
23+
| `artisan:config:clear` | Execute artisan config:clear |
2324
| `artisan:db:seed` | Execute artisan db:seed |
2425
| `artisan:down` | Enable maintenance mode |
2526
| `artisan:horizon:terminate` | Execute artisan horizon:terminate |

‎src/task/artisan.php

Copy file name to clipboardExpand all lines: src/task/artisan.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
desc('Execute artisan cache:clear');
2727
task('artisan:cache:clear', artisan('cache:clear'));
2828

29+
desc('Execute artisan config:clear');
30+
task('artisan:config:clear', artisan('config:clear'));
31+
2932
desc('Execute artisan config:cache');
3033
task('artisan:config:cache', artisan('config:cache'));
3134

‎tests/Features/DeployListTest.php

Copy file name to clipboardExpand all lines: tests/Features/DeployListTest.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function it_should_list_all_available_tasks()
2727
// Artisan
2828
$this->assertContains('artisan:cache:clear', $output);
2929
$this->assertContains('artisan:config:cache', $output);
30+
$this->assertContains('artisan:config:clear', $output);
3031
$this->assertContains('artisan:db:seed', $output);
3132
$this->assertContains('artisan:down', $output);
3233
$this->assertContains('artisan:horizon:terminate', $output);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.