我正在设置 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 'Not Found';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.
我有点不走运。任何指导或帮助表示赞赏。