dpl无法推送到不合格的目的地:主人

时间:2016-03-24 23:14:20

标签: git azure continuous-integration azure-web-sites travis-ci

我正在使用travis的dpl cmd推送到azure网站:

dpl --provider=AzureWebApps --username=$AZURE_WA_USERNAME --password=$AZURE_WA_PASSWORD --site=xxx --verbose

我收到了这个错误:

 error: unable to push to unqualified destination: master
 The destination refspec neither matches an existing ref on the remote nor
 begins with refs/, and we are unable to guess a prefix based on the source ref.

那么问题是什么?

1 个答案:

答案 0 :(得分:1)

我通过以下方式解决:

git push origin master:refs/heads/master

因为默认情况下repo是空的......

相关问题