diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-05 09:40:32 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-07 01:11:51 +0800 |
commit | 8b05b864fba750ce48d2ae7bbb58e27ed8fd4df2 (patch) | |
tree | 432db7d1c57a4625583a72eaa20902d9a9db4b12 /.circleci/config.yml | |
parent | 319135c8fe9cf74c315b3590ba40fe17c74be525 (diff) | |
download | dexon-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
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 7 |
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: |