Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

ci: Check if components folder exists befor trying to tar it #443

Merged
merged 1 commit into from
Jan 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,14 @@ jobs:
steps:
- attach_workspace:
at: ~/barista
- run: cd dist && tar czf components.tar.gz ./components/
- run:
name: Create components package if it exists
command: |
if [[ -d ./dist/components ]];
then
cd dist
tar czf components.tar.gz ./components/
fi
- store_artifacts:
path: dist/components.tar.gz
destination: barista-components
Expand Down