From fef0e0c31b29e137f46c1577d94a3d7f35f5bb8f Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Tue, 3 Jul 2018 10:51:58 -0400 Subject: [PATCH] Ignore dist, force add it when deploying gh-pages --- .gitignore | 8 ++++---- .travis.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index ef0bafdb9..25503310d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -.sass-cache -node_modules/ -bower_components/ .DS_Store -.idea \ No newline at end of file +.idea +.sass-cache +dist/ +node_modules/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 42a3353d0..86a0bb0ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,6 @@ jobs: - stage: npm release script: - yarn build - before_deploy: - - cd dist deploy: provider: npm email: rwwagner90@gmail.com @@ -34,6 +32,8 @@ jobs: - stage: gh-pages release script: - yarn build + before_deploy: + - git add -f --all dist/ deploy: provider: pages skip-cleanup: true