image: 'arob/drone-nonstop-browser'
script:
  - 'ns --verbose'
cache:
  mount:
    - node_modules
    - .git
deploy:
  bash:
    command: 'ns upload --latest --index 10.0.0.4 --port 4444 --token lkdevtoken'
notify:
  slack:
    webhook_url: 'https://hooks.slack.com/services/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'
    username: 'azurebuild'
    channel: '#hackbot'
    on_started: true
    on_success: true
    on_failure: true

image: 'arob/drone-nonstop-browser'
script:
  - 'ns --verbose'
cache:
  mount:
    - node_modules
    - .git
deploy:
  bash:
    command: 'ns upload --latest --index 10.0.0.4 --url /index/api --port 4444 --token lkdevtoken'
notify:
  slack:
    webhook_url: 'https://hooks.slack.com/services/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'
    username: 'azurebuild'
    channel: '#hackbot'
    on_started: true
    on_success: true
    on_failure: true

Use new url command to add index prefix to upload command
Use new url command to add index prefix to upload command
