From cc5fd2a753f9fb5d539039208509cb526de277ec Mon Sep 17 00:00:00 2001 From: himeshr Date: Wed, 13 Sep 2023 15:49:09 +0530 Subject: [PATCH] #000 | Persist avni-webapp.tgz to circle-ci artifacts --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8fd23b135..64b0a89e6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,17 +63,22 @@ jobs: - run: cd build; zip -r ../openchs-webapp.zip * + - run: tar -czvf avni-webapp.tgz -C build . + - run: mkdir -p ~/artifacts - run: echo $CIRCLE_BUILD_NUM > ~/artifacts/build_version - run: cp ~/openchs-webapp/openchs-webapp.zip ~/artifacts/ + - run: cp ~/openchs-webapp/avni-webapp.tgz ~/artifacts/ + - persist_to_workspace: root: ~/artifacts paths: - build_version - openchs-webapp.zip + - avni-webapp.tgz - store_artifacts: path: ~/artifacts