Skip to content

Commit

Permalink
added auto-update (0.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mt-gareth committed Dec 27, 2020
1 parent 6f13d99 commit 14f62ac
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 1 deletion.
Binary file modified builds/mt-site
Binary file not shown.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"laminas/laminas-text": "^2.8",
"laravel-zero/framework": "^8.0",
"laravel/forge-sdk": "^3.3",
"padraic/phar-updater": "^1.0.6",
"symfony/process": "^5.2"
},
"require-dev": {
Expand Down
194 changes: 193 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions config/updater.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

use LaravelZero\Framework\Components\Updater\Strategy\GithubStrategy;

return [

/*
|--------------------------------------------------------------------------
| Self-updater Strategy
|--------------------------------------------------------------------------
|
| Here you may specify which update strategy class you wish to use when
| updating your application via the "self-update" command. This must
| be a class that implements the StrategyInterface from Humbug.
|
*/

'strategy' => GithubStrategy::class,

];

0 comments on commit 14f62ac

Please sign in to comment.