Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shallow_clone: true
- # version format
- version: 1.1.{build}
- # Fix line endings in Windows. (runs before repo cloning)
- init:
- - git config --global core.autocrlf true
- cache:
- - packages -> **packages.config
- - Sigma.Websitebower_components -> Sigma.Websitebower.json
- - Sigma.Websitenode_modules -> Sigma.Websitepackage.json
- install:
- - npm install -g grunt-cli 1> nul
- before_build:
- - ps: .CreateBuildTxt.ps1
- - nuget restore
- - cmd: |
- cd Sigma.Website
- npm install
- grunt
- cd ..
- build:
- publish_wap: true
- #Deployment configuration
- deploy:
- - provider: WebDeploy
- server: https://sigma.scm.azurewebsites.net:443/msdeploy.axd?site=sigma
- website: sigma
- username: $sigma
- password:
- secure: xxxxxx
- ntlm: false
- remove_files: false
- app_offline: false
- artifact: Sigma.Website
- on:
- branch: master
- notifications:
- - provider: Slack
- incoming_webhook: xxxx
- channel: '#sigma-dev'
- on_build_success: true
- on_build_failure: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement