aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
},