From b7add36b1f51e239fdb14fe10d1ec6e2ee6acb68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Iser?= Date: Sun, 19 Apr 2020 15:07:13 +0200 Subject: [PATCH] Persist build and assets as Circle CI artifacts --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 46be241..4178d05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,6 +55,16 @@ jobs: paths: - build/* - assets/* + - run: + name: Compress artifacts + command: | + mkdir -p /tmp + mkdir -p /tmp/artifacts + tar -cvf /tmp/artifacts/build.tar /root/project/build + tar -cvf /tmp/artifacts/assets.tar /root/project/assets + - store_artifacts: + path: /tmp/artifacts + destination: build-and-assets test: docker: - image: tomasiser/docker-cinder:pepr3d