File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const commands = [
1313 'fetchModules' ,
1414 'upload' ,
1515 'cleanUpload' ,
16+ 'ciUpload' ,
1617 'validate' ,
1718 'lighthouse' ,
1819 'fields' ,
Original file line number Diff line number Diff line change @@ -101,6 +101,13 @@ async function cliInit () {
101101 await checkNodeModules ( data )
102102 await import ( '@resultify/hubspot-cms-lib/cleanUpload' )
103103 break
104+ case 'ciUpload' :
105+ // clean and upload CI files to HubSpot
106+ checkIsHubSpotCmsTheme ( data )
107+ checkCliToThemeCompatibility ( data , cliPackageJson )
108+ await checkNodeModules ( data )
109+ await import ( '@resultify/hubspot-cms-lib/ciUpload' )
110+ break
104111 case 'fetch' :
105112 // fetch files from HubSpot
106113 checkIsHubSpotCmsTheme ( data )
Original file line number Diff line number Diff line change 11declare module '@resultify/hubspot-cms-lib/upload'
2+ declare module '@resultify/hubspot-cms-lib/ciUpload'
23declare module '@resultify/hubspot-cms-lib/cleanUpload'
34declare module '@resultify/hubspot-cms-lib/fetch'
45declare module '@resultify/hubspot-cms-lib/fetchModules'
You can’t perform that action at this time.
0 commit comments