File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -478,6 +478,21 @@ jobs:
478478 paths :
479479 - ' */docs/'
480480
481+ docs-beta :
482+ executor : rsp-xlarge
483+ steps :
484+ - restore_cache :
485+ key : react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
486+
487+ - run :
488+ name : build docs
489+ command : make s2-docs-production
490+
491+ - persist_to_workspace :
492+ root : dist
493+ paths :
494+ - ' */docs/'
495+
481496 s2-docs :
482497 executor : rsp-xlarge
483498 steps :
@@ -1018,6 +1033,29 @@ workflows:
10181033 requires :
10191034 - docs-production
10201035
1036+
1037+ beta-docs :
1038+ when :
1039+ and :
1040+ - equal : [ "beta-docs", << pipeline.parameters.GHA_Action >> ]
1041+ - or :
1042+ - equal : [ "release", << pipeline.parameters.GHA_Event >>]
1043+ - equal : [ "workflow_dispatch", << pipeline.parameters.GHA_Event >>]
1044+ jobs :
1045+ - install
1046+ - docs-beta :
1047+ filters :
1048+ branches :
1049+ only : beta-docs
1050+ requires :
1051+ - install
1052+ - deploy-production :
1053+ filters :
1054+ branches :
1055+ only : beta-docs
1056+ requires :
1057+ - docs-beta
1058+
10211059 nightly :
10221060 triggers :
10231061 - schedule :
Original file line number Diff line number Diff line change 1+ name : Beta docs deploy
2+ on :
3+ release :
4+ types : [published]
5+ workflow_dispatch :
6+
7+ jobs :
8+ trigger-circleci :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Run CircleCI
12+ id : beta-docs
13+ uses :
CircleCI-Public/[email protected] 14+ env :
15+ CCI_TOKEN : ${{ secrets.CCI_TOKEN }}
You can’t perform that action at this time.
0 commit comments