8000 feat: adds the required config for using GitHub as an updater provider by danjohnson95 · Pull Request #189 · NativePHP/laravel · GitHub
[go: up one dir, main page]

Skip to content

feat: adds the required config for using GitHub as an updater provider #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: adds the required config for using GitHub as an updater provider
  • Loading branch information
danjohnson95 committed Aug 22, 2023
commit 99386bf583057fd22e483d1173fcf5e14e4c2c35
13 changes: 12 additions & 1 deletion config/nativephp.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,22 @@

/**
* The updater provider to use.
* Supported: "s3", "spaces"
* Supported: "github", "s3", "spaces"
*/
'default' => env('NATIVEPHP_UPDATER_PROVIDER', 'spaces'),

'providers' => [
'github' => [
'driver' => 'github',
'repo' => env('GITHUB_REPO'),
'owner' => env('GITHUB_OWNER'),
'token' => env('GITHUB_TOKEN'),
'vPrefixedTagName' => env('GITHUB_V_PREFIXED_TAG_NAME', true),
'private' => env('GITHUB_PRIVATE', false),
'channel' => env('GITHUB_CHANNEL', 'latest'),
'releaseType' => env('GITHUB_RELEASE_TYPE', 'draft'),
],

's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
Expand Down
0