dpl 无法推送到不合格的目的地:master
dpl unable to push to unqualified destination: master
我正在使用 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.
那么问题是什么?
我通过以下方式解决:
git push origin master:refs/heads/master
因为repo默认是空的...
我正在使用 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.
那么问题是什么?
我通过以下方式解决:
git push origin master:refs/heads/master
因为repo默认是空的...