From 80dd4c23963c0e8f6a12b307743636c1655b66cc Mon Sep 17 00:00:00 2001 From: kamijin_fanta Date: Thu, 11 Oct 2018 19:43:01 +0900 Subject: [PATCH] new netlify --- .netlify | 1 - .netlify/state.json | 3 +++ .travis.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 .netlify create mode 100644 .netlify/state.json diff --git a/.netlify b/.netlify deleted file mode 100644 index d7786a7fea..0000000000 --- a/.netlify +++ /dev/null @@ -1 +0,0 @@ -{"site_id":"757074ef-6b9d-4bb8-b35d-274477b1b051","path":"./packages/preview/build"} \ No newline at end of file diff --git a/.netlify/state.json b/.netlify/state.json new file mode 100644 index 0000000000..c96147193c --- /dev/null +++ b/.netlify/state.json @@ -0,0 +1,3 @@ +{ + "siteId": "757074ef-6b9d-4bb8-b35d-274477b1b051" +} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index c2cdf1c6eb..a8fdf6603f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ jobs: - (cd packages/demo/ && yarn test && yarn build) - | if [ -n "$NETLIFY_ACCESS_TOKEN" ]; then - NETLIFY_AUTH_TOKEN=$NETLIFY_ACCESS_TOKEN yarn netlify deploy; + NETLIFY_AUTH_TOKEN=$NETLIFY_ACCESS_TOKEN yarn netlify deploy --dir ./packages/preview/build --message "$TRAVIS_BRANCH $TRAVIS_COMMIT_MESSAGE"; fi deploy: provider: releases