Advertisement
Guest User

Untitled

a guest
Jul 7th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. shallow_clone: true
  2. # version format
  3. version: 1.1.{build}
  4. # Fix line endings in Windows. (runs before repo cloning)
  5. init:
  6. - git config --global core.autocrlf true
  7.  
  8. cache:
  9. - packages -> **packages.config
  10. - Sigma.Websitebower_components -> Sigma.Websitebower.json
  11. - Sigma.Websitenode_modules -> Sigma.Websitepackage.json
  12.  
  13. install:
  14. - npm install -g grunt-cli 1> nul
  15.  
  16. before_build:
  17. - ps: .CreateBuildTxt.ps1
  18. - nuget restore
  19. - cmd: |
  20. cd Sigma.Website
  21. npm install
  22. grunt
  23. cd ..
  24.  
  25. build:
  26. publish_wap: true
  27.  
  28. #Deployment configuration
  29. deploy:
  30. - provider: WebDeploy
  31. server: https://sigma.scm.azurewebsites.net:443/msdeploy.axd?site=sigma
  32. website: sigma
  33. username: $sigma
  34. password:
  35. secure: xxxxxx
  36. ntlm: false
  37. remove_files: false
  38. app_offline: false
  39. artifact: Sigma.Website
  40. on:
  41. branch: master
  42.  
  43. notifications:
  44. - provider: Slack
  45. incoming_webhook: xxxx
  46. channel: '#sigma-dev'
  47. on_build_success: true
  48. on_build_failure: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement