<commit_before>trigger:
- preview

jobs:
- job: NetlifyStaticDeploy
  displayName: 'Deploy'
  pool:
    vmImage: 'Ubuntu-16.04'
    demands: npm
  steps:
  - script: 'npm install netlify-cli'
    displayName: 'npm install netlify'
  - script: 'npm install --prefix Playground/'
    displayName: 'npm install playground'
# Controllers
  - script: 'npx netlify link --id=220a52f0-ea85-4244-8342-8ec149cd78d6'
    displayName: 'netlify link babylonjscontrollers'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=assets/meshes/controllers'
    displayName: 'netlify deploy babylonjscontrollers'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# Sandbox
  - script: 'netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=4deda23f-f382-458b-897e-2f2111b5f263'
    displayName: 'netlify link babylonjs-sandbox'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=sandbox/'
    displayName: 'netlify deploy babylonjs-sandbox'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# playground
  - script: 'netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=9161d5f0-b208-4b86-a281-9300386f6c94'
    displayName: 'netlify link babylonjs-playground'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=Playground/'
    displayName: 'netlify deploy babylonjs-playground'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# babylonjs-preview
  - script: 'netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=e1c1c520-e3a4-4d5b-91e6-254f1bea1b6b'
    displayName: 'netlify link babylonjs-preview'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir="dist/preview release"'
    displayName: 'netlify deploy babylonjs-preview'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# assets-babylonjs
  - script: 'netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=bd58224a-5f56-42de-afd2-ffa72b85fd71'
    displayName: 'netlify link assets-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=assets/'
    displayName: 'netlify deploy assets-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# nodeeditor
  - script: 'npm install --prefix Tools/Gulp && npx gulp nodeEditor --gulpfile ./Tools/Gulp/gulpfile.js'
    displayName: 'gulp build nodeeditor'
  - script: 'netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=d232f0dc-cdb2-473e-b0f5-91fb1dd1d398'
    displayName: 'netlify link nodeeditor'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=nodeEditor/public'
    displayName: 'netlify deploy nodeeditor'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# viewer-babylonjs
  - script: 'npm install --prefix Tools/Gulp && npx gulp viewer --gulpfile ./Tools/Gulp/gulpfile.js'
    displayName: 'gulp build viewer-babylonjs'
  - script: 'netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=a32b113f-8187-43ab-9133-8844521f26f4'
    displayName: 'netlify link viewer-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=Viewer/dist/'
    displayName: 'netlify deploy viewer-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)<commit_msg>Update azure-pipelines-cd.yml for Azure Pipelines<commit_after>trigger:
- preview

jobs:
- job: NetlifyStaticDeploy
  displayName: 'Deploy'
  pool:
    vmImage: 'Ubuntu-16.04'
    demands: npm
  steps:
  - script: 'npm install netlify-cli'
    displayName: 'npm install netlify'
  - script: 'npm install --prefix Playground/'
    displayName: 'npm install playground'
# Controllers
  - script: 'npx netlify link --id=220a52f0-ea85-4244-8342-8ec149cd78d6'
    displayName: 'netlify link babylonjscontrollers'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=assets/meshes/controllers'
    displayName: 'netlify deploy babylonjscontrollers'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# Sandbox
  - script: 'npx netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=4deda23f-f382-458b-897e-2f2111b5f263'
    displayName: 'netlify link babylonjs-sandbox'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=sandbox/'
    displayName: 'netlify deploy babylonjs-sandbox'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# playground
  - script: 'npx netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=9161d5f0-b208-4b86-a281-9300386f6c94'
    displayName: 'netlify link babylonjs-playground'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=Playground/'
    displayName: 'netlify deploy babylonjs-playground'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# babylonjs-preview
  - script: 'npx netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=e1c1c520-e3a4-4d5b-91e6-254f1bea1b6b'
    displayName: 'netlify link babylonjs-preview'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir="dist/preview release"'
    displayName: 'netlify deploy babylonjs-preview'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# assets-babylonjs
  - script: 'npx netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=bd58224a-5f56-42de-afd2-ffa72b85fd71'
    displayName: 'netlify link assets-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=assets/'
    displayName: 'netlify deploy assets-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# nodeeditor
  - script: 'npm install --prefix Tools/Gulp && npx gulp nodeEditor --gulpfile ./Tools/Gulp/gulpfile.js'
    displayName: 'gulp build nodeeditor'
  - script: 'npx netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=d232f0dc-cdb2-473e-b0f5-91fb1dd1d398'
    displayName: 'netlify link nodeeditor'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=nodeEditor/public'
    displayName: 'netlify deploy nodeeditor'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
# viewer-babylonjs
  - script: 'npm install --prefix Tools/Gulp && npx gulp viewer --gulpfile ./Tools/Gulp/gulpfile.js'
    displayName: 'gulp build viewer-babylonjs'
  - script: 'npx netlify unlink'
    displayName: 'netlify unlink'
  - script: 'npx netlify link --id=a32b113f-8187-43ab-9133-8844521f26f4'
    displayName: 'netlify link viewer-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
  - script: 'npx netlify deploy --prod --dir=Viewer/dist/'
    displayName: 'netlify deploy viewer-babylonjs'
    env:
      AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
      NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
{'fraction_non_alphanumeric': 0.11260669730794484, 'fraction_numerical': 0.03282994090610637, 'mean_word_length': 3.913440860215054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4701314', 'n_tokens_mistral': 3683, 'n_tokens_neox': 3405, 'n_words': 619}