我正在设置AWS CodeDeploy,以从GitHUB私有存储库获取修订。我尝试同时使用AWS CodeDeploy GUI和aws deploy命令。对于GUI,我遵循此页面的说明https://blogs.aws.amazon.com/application-management/post/Tx33XKAKURCCW83/Automatically-Deploy-from-GitHub-Using-AWS-CodeDeploy。连接到GitHub存储库时,我输入了凭据。我还确保appspec.yml文件位于存储库的根目录中。在部署期间,我一直收到以下消息。
重试3次后,无法在' https://api.github.com/repos/[GroupName]/[repositoryName]/tarball/[commitID] ' 处下载捆绑软件。服务器返回的代码:404“未找到”;404'未找到'; 404'未找到'; 404“未找到”。
当我尝试在该URL上执行wget时,我还会看到相同的404返回代码。
MyMachine$ wget https://api.github.com/repos/[GroupName]/[repositoryName]/tarball/[commitId]
--2016-02-06 00:26:13--
https://api.github.com/repos/[GroupName]/[repositoryName]/tarball/[commitId]
Resolving api.github.com... 192.30.252.124
Connecting to api.github.com|192.30.252.124|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-02-06 00:26:14 ERROR 404: Not Found.
Run Code Online (Sandbox Code Playgroud)
我有点不走运。任何指导或帮助,不胜感激。