Deploying to Azure Web App from Travis CI -
i trying deploy solution travis azure web app. i've followed this post , created local git repository deployment in azure, deployment credentials.
i have in .travis.yml
deploy: provider: azure_web_apps skip_cleanup: true verbose: true
which gives error
error: unable push unqualified destination: master
destination refspec neither matches existing ref on remote nor
begins refs/, , unable guess prefix based on source ref.
i have dug around, , found need call
git push origin master:refs/heads/master
in order initialise repository, i've no idea put in .travis.yml
i write whole git push part myself, seems negate purpose of travis azure functionality.
very late answer here, imagine solution add following .travis.yml
:
before_deploy: "git push origin master:refs/heads/master"