Skip to content

Commit

Permalink
Try loading the token into config and then using it
Browse files Browse the repository at this point in the history
  • Loading branch information
edgrosvenor committed Jan 18, 2025
1 parent 9a11f36 commit 1d5a7b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/kibble/config/kibble.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
'organization' => 'artisan-build',
'template' => 'artisan-build/skeleton',
'homepage' => 'https://artisan.community',
'github_token' => env('GH_TOKEN'),
];
4 changes: 2 additions & 2 deletions packages/kibble/src/Commands/SplitPackagesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class SplitPackagesCommand extends Command

public function handle(): int
{
/** @phpstan-ignore-next-line */
$this->info(env('GH_TOKEN'));

$this->info('Token: ' . config('kibble.github_token'));

/*
$ghToken = env('GH_TOKEN'); // Pull token from the environment variable
Expand Down

0 comments on commit 1d5a7b6

Please sign in to comment.