From 16b768932b5ccc275724a3349628e8d3d778d5de Mon Sep 17 00:00:00 2001 From: Magnus Hallin Date: Fri, 6 May 2016 13:48:54 +0200 Subject: [PATCH] Add deployment to GitHub releases --- .travis.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 126ea02..ed579a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,18 @@ before_install: - npm config set spin false --global script: - - ./scripts/build.sh - npm run flow + - ./scripts/build.sh - npm run lint + +deploy: + provider: releases + api_key: + secure: njCIIbvtXMvmALsvPyfEu9eXi+BBcnNIiKtauyQuqN7u8+CETmR678HlLHuYGw8lX4s5uNywdnLTX4iUnQtwMtEDtzUSle7uZJsyBWzQ+8zLLkEEOl56ndq7090wugSR4EYwEyC+1xerF1whTPge5UMKkKDpmv3hHY90wJhbY+uskGk37pew4p48JrBXH+vq66lmv6Lz569h4QQtIojqd5W/sflVGXDikoI5gS5Ku5L82SkvAC8UdshllSqCoxth+s9SFrK+QqAaW8mT3gnxJKN4c3nACtAAKPnO9eCoS18H82CNnz0kfjr/WuysxM6XNUrlwxR4PzhA8rCX1bQLxiusw6bOj/7bpn1GPty/xuTDM9VSLQ0ruaiqkOVMNNZP169fuz7iba2wEx2K/xsTfwKmAw3g1QawOXOwdrrTI+I5JIh/I7L7Ei3NeZusWzm9rES28hEntb4QAuq3v6rOXXL1450xj2RBT5ngEAE/spe3BgkgR5T6VjZWFtARTk8OcJx/YG/1XyTsuB685pnToUYVg0i0zZaCBbXr09N9d7vhiFq5ndjLKUw7UcAQdnLcYyXxuCORRy2Tz893YPkf/+Ib5xbgjTEwWC/S0x4GXJKtCZQTPcu59mstMDMPi3OH0KUwGJ97Xt8DmCU5oECpbSFV3uu5XFKtZcKlgVnBxvg= + file: + - dist/graphql-docs.js + - dist/graphql-docs.min.js + skip_cleanup: true + on: + tags: true + branch: master