From ce39e551c624e654b1ff67f5f1689b99c1aa575b Mon Sep 17 00:00:00 2001 From: MICHAEL JACKSON Date: Fri, 18 Aug 2017 13:17:06 -0700 Subject: [PATCH] Deploy using Travis --- .travis.yml | 14 ++++++++++++++ package.json | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3819858 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: node_js +node_js: +- stable +cache: yarn +branches: + only: + - master +before_deploy: yarn build +deploy: + provider: heroku + app: unpkg + skip_cleanup: true + api_key: + secure: qJTOiZE1hbghS0U7xpqU/38jm1Dga8bycsgDTW2wOSfAxqxtR4rAilW3ffBHY8/VSqt5GLkyPqFzb9R3I+xlcK6oakQyNMFGjQwMAqwdtHjucr45jWYNeqWf6Nbrrj+0LiQiH/uqMB4mKPquGqx2k2JIHW6jy5ndK14lI9a7SP44edyNugjhNW+OOYjwqo6maHvRoFNxL7kxrw7Js90d0gIKXpunBqHmxmr/hlYcGr9qJ+bLUXxmObxpoFWKHE0iTsTw3C3y558wZpHTfa3vXIvhseW2q7ATuRRVBv8StNjYxYSGpeZA+59d48z3EPK/mp7ybZO6cWyaBdcA9yF3thISEXlXcRcCck5KYk4gwzgrcfug59Z1VJUVXCywJTUu42V5ISoyUKJ+DelkkvMpXQH9T9fxm5eWEwb7sb+UTo3R8mlFliBogvXrWOKNXeRFsLQXH3/YmOUWONUUYRJS11K/p+sFOTfTfaH5lS0AFKCAKtvfLjdLUclsmmrITSFQa42/SRsFx88v3RxDL93r2838p51N7U/RqOqTNfQ8JR2iQOWlthMEvnVZMNs3VT9lW5eYIdTd5kpW/ARVtQf2drVVYR5BzNRJlGyw7M4x1riwNO7XhNqH76Iy/zMbeEDGaXqBCfzgq9vsRAjZm/TFKw8eOEy8+EGxLrBKD1U7EuI= diff --git a/package.json b/package.json index b54d2bb..7f4c374 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "unpkg.com", + "private": true, + "name": "unpkg-website", "proxy": "http://localhost:3001", "scripts": { "start": "node scripts/start.js", "build": "node scripts/build.js", - "heroku-postbuild": "node scripts/build.js", "server": "heroku local -f Procfile.local -p 3001", "test": "node scripts/test.js --env=jsdom" },