From 9ac5076ee91a51b9bf2f22b2f244afdedd25848c Mon Sep 17 00:00:00 2001 From: khelia <58723166+khelia148@users.noreply.github.com> Date: Sun, 28 Mar 2021 18:54:39 +0200 Subject: [PATCH] update config.yml --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4d44ff2..d72c1de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,13 +27,20 @@ workflows: branches: only: - main - - deploy: + - server-doc-build: requires: - test filters: branches: only: - main + - server-doc-deploy: + requires: + - server-doc-build + filters: + branches: + only: + - main jobs: build: docker: @@ -94,7 +101,7 @@ jobs: steps: - checkout - restore_cache: - key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} + key: yarn-packages-v2{{ checksum "yarn.lock" }} - run: yarn doc:build - run: name: Copy deployment artifacts to workspace