1
我试图从Github部署Laravel 5.2到Azure。我不断收到这个部署错误。我不知道如何添加令牌。我在我的github帐户中创建了一个,并添加了:composer config github-oauth.github.com“。这添加了带有令牌信息的auth.json,但在部署时仍然没有运气,我得到同样的错误。是我做错了吗?从Github和令牌部署到Azure
Command: D:\home\SiteExtensions\ComposerExtension\Hooks\deploy.cmd
Install Dependencies with Composer
Loading composer repositories with package information
Installing dependencies from lock file
- Installing nesbot/carbon (1.21.0)
Downloading
Could not fetch https://api.github.com/repos/briannesbitt/Carbon/zipball/7b08ec6f75791e130012f206e3f7b0e76e18e3d7, please create a GitHub OAuth token to go over the API rate limit
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+RD00155DB2046E+2016-02-21+1233
to retrieve a token. It will be stored in "D:\home\site\repository/auth.json" for future use by Composer.
Token (hidden): No token given, aborting.
You can also add it manually later by using "composer config github-oauth.github.com <token>"
Command 'starter.cmd D:\home\SiteExt ...' was aborted due to no output nor CPU activity for 60 seconds.