language: node_js
node_js:
  - node
branches:
  only: master
env:
  - EXTENSION_ID=godiecgffnchndlihlpaajjcplehddca

deploy:
  provider: script
  skip_cleanup: true
  script: npm run deploy
  on:
    branch: master

language: node_js
node_js:
  - node
branches:
  only: master
env:
  - EXTENSION_ID=godiecgffnchndlihlpaajjcplehddca

deploy:
  provider: script
  skip_cleanup: true
  script: npm run deploy
  on:
    branch: master

    # the deployment will be skipped if the last commit doesn't touch the extension's files
    condition: $(git diff-tree --no-commit-id --name-only -r HEAD | sed -n '/browser\// q 1'; echo $?) = 1

Revert "Disable extensions-only deployment condition"
Revert "Disable extensions-only deployment condition"

This reverts commit 30cac4fe86463c05c46fef85032f7c4e4aa5e151.
