0

I am using travis's dpl cmd to push to azure website:

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

I got this error:

 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.

So what is the problem?

Alvin
  • 7,167
  • 18
  • 72
  • 152
  • 1
    Did you set up a deployment source for you web app? It seams that the master branch is not in the remote side any more. – Jack Zeng Mar 25 '16 at 07:25

1 Answers1

1

I solve it by:

git push origin master:refs/heads/master

Because the repo is empty by default...

Alvin
  • 7,167
  • 18
  • 72
  • 152