aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-05 09:40:32 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-07 01:11:51 +0800
commit8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2 (patch)
tree432db7d1c57a4625583a72eaa20902d9a9db4b12
parent319135c8fe9cf74c315b3590ba40fe17c74be525 (diff)
downloaddexon-sol-tools-8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2.tar
dexon-sol-tools-8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2.tar.gz
dexon-sol-tools-8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2.tar.bz2
dexon-sol-tools-8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2.tar.lz
dexon-sol-tools-8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2.tar.xz
dexon-sol-tools-8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2.tar.zst
dexon-sol-tools-8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2.zip
Don't build website if no changes were made to it
-rw-r--r--.circleci/config.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 10be3de9d..a4f3e7a91 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -25,7 +25,12 @@ jobs:
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- - run: yarn build
+ - run: >
+ if [ -z "$(git diff --name-only v2-prototype packages/website)" ]; then
+ yarn build --exclude website
+ else
+ yarn build
+ fi
- save_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
paths: