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" 

Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo