File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ async function pushToAlgoliaDoc(): Promise<void> {
48
48
await run ( `cp ${ toAbsolutePath ( 'specs/bundled/README.md' ) } ${ pathToSpecs } ` ) ;
49
49
await run ( `cp ${ toAbsolutePath ( 'specs/bundled/*.doc.yml' ) } ${ pathToSpecs } ` ) ;
50
50
await run ( `cp ${ toAbsolutePath ( 'config/release.config.json' ) } ${ pathToSpecs } ` ) ;
51
- await run ( `cp ${ toAbsolutePath ( 'website/src/generated /*.json' ) } ${ pathToSpecs } ` ) ;
51
+ await run ( `cp ${ toAbsolutePath ( 'snippets/guides /*.json' ) } ${ pathToSpecs } ` ) ;
52
52
53
53
if ( ( await getNbGitDiff ( { head : null , cwd : tempGitDir } ) ) === 0 ) {
54
54
console . log ( `❎ Skipping push docs because there is no change.` ) ;
Original file line number Diff line number Diff line change @@ -75,10 +75,7 @@ export async function transformBundle({
75
75
toAbsolutePath ( `website/src/generated/${ clientName } -snippets.js` ) ,
76
76
`export const snippets = ${ snippets } ` ,
77
77
) ;
78
- await fsp . writeFile (
79
- toAbsolutePath ( `website/src/generated/${ clientName } -snippets.json` ) ,
80
- snippets ,
81
- ) ;
78
+ await fsp . writeFile ( toAbsolutePath ( `snippets/guides/${ clientName } -snippets.json` ) , snippets ) ;
82
79
}
83
80
84
81
for ( const [ pathKey , pathMethods ] of Object . entries ( bundledSpec . paths ) ) {
You can’t perform that action at this time.
0 commit comments