language: node_js
node_js:
- '0.10'
before_script:
- npm install -g grunt-cli; chmod u+x scripts/deploy-edge-to-cdn.sh; grunt
script: ./scripts/deploy-edge-to-cdn.sh
env:
  global:
  - GH_REF: github.com/ractivejs/ractive.git
  - CDN_REF: github.com/ractivejs/cdn.ractivejs.org.git
  - secure: "nlnXJW/imf/w6qdTd7UCpRqLhLioxU6fllJPbP1DZr/9rp44HNVSPNxxGrA808VDXQ1ccpXBxIV9mgIi4Q/G0FUILA5NsSGYdQE00A+Lw3qnvv5FQ7Qoux44BKYi4L1W+4Zi3NEr7TAL+/dHCAk5k/ZKLTCCxiziAEw3M+akE4A="
branches:
  only:
    - master
    - dev
