Skip to content

Conversation

@usernamealreadyis
Copy link

supported in environment, deploy and notifications sections.# configuration for "master" branch

build in Release mode and deploy to Azure

branches:
only:
- master

configuration: Release
deploy:
provider: AzureCS
...

configuration for all branches starting from "dev-"

build in Debug mode and deploy locally for testing

branches:
only:
- /dev-.*/

configuration: Debug
deploy:
provider: Local
...

"fall back" configuration for all other branches

no "branches" section defined

do not deploy at all

configuration: Debug

 supported in environment, deploy and notifications sections.# configuration for "master" branch
# build in Release mode and deploy to Azure
-
  branches:
    only:
      - master

  configuration: Release
  deploy:
    provider: AzureCS
    ...

# configuration for all branches starting from "dev-"
# build in Debug mode and deploy locally for testing
-
  branches:
    only:
      - /dev-.*/

  configuration: Debug
  deploy:
    provider: Local
    ...

# "fall back" configuration for all other branches
# no "branches" section defined
# do not deploy at all
-
  configuration: Debug
@usernamealreadyis usernamealreadyis added this to the tes milestone Dec 29, 2015
@xccvv xccvv locked and limited conversation to collaborators Dec 29, 2015
usernamealreadyis added a commit that referenced this pull request Dec 29, 2015
@usernamealreadyis usernamealreadyis merged commit c57edbd into master Dec 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants