@@ -678,6 +678,28 @@ jobs:
678678 paths :
679679 - ' */verdaccio/s2-webpack-5-example'
680680
681+ v-s2-next :
682+ executor : rsp-xlarge
683+ steps :
684+ - restore_cache :
685+ key : react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
686+
687+ - attach_workspace :
688+ at : /tmp/verdaccio-workspace
689+
690+ - run :
691+ name : build s2-next off verdaccio
692+ command : |
693+ ./scripts/verdaccio-ci.sh
694+ ./scripts/verdaccio-build-s2-next.sh
695+ environment :
696+ VERDACCIO_STORAGE_PATH : /tmp/verdaccio-workspace/storage
697+
698+ - persist_to_workspace :
699+ root : verdaccio_dist
700+ paths :
701+ - ' */verdaccio/s2-next-macros'
702+
681703 v-icon-builder :
682704 executor : rsp-xlarge
683705 steps :
@@ -735,7 +757,9 @@ jobs:
735757 name : deploy
736758 command : |
737759 if [ $AZURE_STORAGE_SAS_TOKEN ]; then
738- azcopy copy "/tmp/dist/*" "https://reactspectrum.blob.core.windows.net/reactspectrum${AZURE_STORAGE_SAS_TOKEN}" --recursive
760+ azcopy copy "/tmp/dist/*" "https://reactspectrum.blob.core.windows.net/reactspectrum${AZURE_STORAGE_SAS_TOKEN}" --recursive --exclude-pattern "*.md;*.txt"
761+ azcopy copy "/tmp/dist/*" "https://reactspectrum.blob.core.windows.net/reactspectrum${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.md" --content-type "text/markdown; charset=utf-8"
762+ azcopy copy "/tmp/dist/*" "https://reactspectrum.blob.core.windows.net/reactspectrum${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.txt" --content-type "text/plain; charset=utf-8"
739763 fi
740764
741765 # Separate deploy workflow for the test docs built w/ verdaccio packages so it doesn't hold up the other deploy workflows
@@ -756,7 +780,9 @@ jobs:
756780 command : |
757781 if [ $AZURE_STORAGE_SAS_TOKEN ]; then
758782 for dir in /tmp/verdaccio_dist/*/verdaccio; do
759- azcopy copy "$dir/*" "https://reactspectrum.blob.core.windows.net/reactspectrum/$CIRCLE_SHA1/verdaccio${AZURE_STORAGE_SAS_TOKEN}" --recursive
783+ azcopy copy "$dir/*" "https://reactspectrum.blob.core.windows.net/reactspectrum/$CIRCLE_SHA1/verdaccio${AZURE_STORAGE_SAS_TOKEN}" --recursive --exclude-pattern "*.md;*.txt"
784+ azcopy copy "$dir/*" "https://reactspectrum.blob.core.windows.net/reactspectrum/$CIRCLE_SHA1/verdaccio${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.md" --content-type "text/markdown; charset=utf-8"
785+ azcopy copy "$dir/*" "https://reactspectrum.blob.core.windows.net/reactspectrum/$CIRCLE_SHA1/verdaccio${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.txt" --content-type "text/plain; charset=utf-8"
760786 done
761787 fi
762788
@@ -774,7 +800,10 @@ jobs:
774800 mv ./azcopy_linux_amd64_*/azcopy /usr/local/bin/
775801 - run :
776802 name : deploy
777- command : azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive
803+ command : |
804+ azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --exclude-pattern "*.md;*.txt"
805+ azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.md" --content-type "text/markdown; charset=utf-8"
806+ azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.txt" --content-type "text/plain; charset=utf-8"
778807
779808 comment :
780809 executor : rsp
@@ -914,6 +943,9 @@ workflows:
914943 - v-s2-webpack :
915944 requires :
916945 - verdaccio
946+ - v-s2-next :
947+ requires :
948+ - verdaccio
917949 - v-icon-builder :
918950 requires :
919951 - verdaccio
@@ -948,6 +980,7 @@ workflows:
948980 - v-rac-rsp-tailwind
949981 - v-s2-parcel
950982 - v-s2-webpack
983+ - v-s2-next
951984 - v-icon-builder
952985 - v-publish-stats
953986 - comment :
0 commit comments