From 9da4651402b8738ec0493ade0cf95dd9e251d9c5 Mon Sep 17 00:00:00 2001 From: Reid Barber Date: Mon, 16 Sep 2024 11:39:47 -0500 Subject: [PATCH] CI: fix verdaccio deploy step (#7035) * fix path in verdaccio deploy * build on PR * revert * enable comments on PR * loop over verdaccio dir * add back branch filters --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d53a680d610..ade9fac8733 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -512,7 +512,9 @@ jobs: name: deploy command: | if [ $AZURE_STORAGE_SAS_TOKEN ]; then - azcopy copy "/tmp/verdaccio_dist/*/verdaccio/*" "https://reactspectrum.blob.core.windows.net/reactspectrum/$CIRCLE_SHA1/verdaccio${AZURE_STORAGE_SAS_TOKEN}" --recursive + for dir in /tmp/verdaccio_dist/*/verdaccio; do + azcopy copy "$dir/*" "https://reactspectrum.blob.core.windows.net/reactspectrum/$CIRCLE_SHA1/verdaccio${AZURE_STORAGE_SAS_TOKEN}" --recursive + done fi deploy-production: