aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-04-07 16:18:45 +0300
committerGitHub <noreply@github.com>2020-04-07 16:18:45 +0300
commitda623fef69b093ba3fa54842ab21c21fc7c8e649 (patch)
tree1f28b1b5777364f9e30d58675d399aa2ff4cc77e
parent6c81948299f8e32d19847d5257e9ee356bbb67c2 (diff)
parenta927a543b849d39da80cce2e28d61098ca531c16 (diff)
downloadreact-benzin-da623fef69b093ba3fa54842ab21c21fc7c8e649.tar.gz
Merge pull request #11 from eug-vs/preview
Fix build issues
-rw-r--r--.circleci/config.yml5
-rw-r--r--package.json2
2 files changed, 5 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6d97946..f3500d2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -71,7 +71,10 @@ workflows:
test:
jobs:
- - checkout_and_test
+ - checkout_and_test:
+ filters:
+ branches:
+ ignore: /^(master|develop)$/
deploy:
jobs:
diff --git a/package.json b/package.json
index 847abef..f5e6d22 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
"lint": "eslint . --ext ts,tsx --max-warnings 0",
"test": "npm run lint && tsc",
"build-pages": "react-scripts build",
- "deploy-pages": "gh-pages -d build",
+ "deploy-pages": "npm run build-pages && gh-pages -d build",
"compile-dist": "rm -rf dist && tsc --project tsconfig.release.json",
"publish-package": "npm run lint && npm run build && npm publish --public"
},