@@ -678,6 +678,28 @@ jobs:
678
678
paths :
679
679
- ' */verdaccio/s2-webpack-5-example'
680
680
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
+
681
703
v-icon-builder :
682
704
executor : rsp-xlarge
683
705
steps :
@@ -735,7 +757,9 @@ jobs:
735
757
name : deploy
736
758
command : |
737
759
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"
739
763
fi
740
764
741
765
# 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:
756
780
command : |
757
781
if [ $AZURE_STORAGE_SAS_TOKEN ]; then
758
782
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"
760
786
done
761
787
fi
762
788
@@ -774,7 +800,10 @@ jobs:
774
800
mv ./azcopy_linux_amd64_*/azcopy /usr/local/bin/
775
801
- run :
776
802
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"
778
807
779
808
comment :
780
809
executor : rsp
@@ -914,6 +943,9 @@ workflows:
914
943
- v-s2-webpack :
915
944
requires :
916
945
- verdaccio
946
+ - v-s2-next :
947
+ requires :
948
+ - verdaccio
917
949
- v-icon-builder :
918
950
requires :
919
951
- verdaccio
@@ -948,6 +980,7 @@ workflows:
948
980
- v-rac-rsp-tailwind
949
981
- v-s2-parcel
950
982
- v-s2-webpack
983
+ - v-s2-next
951
984
- v-icon-builder
952
985
- v-publish-stats
953
986
- comment :
0 commit comments