File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export function getCustomFields() {
7777 // console.log(filePath);
7878 const websiteFileContent = fs . readFileSync ( websiteFilePath ) ;
7979 const websitePackageJson = JSON . parse ( websiteFileContent . toString ( ) ) ;
80- websiteFields = websitePackageJson ?. websiteConfig ?. customFields ?? { } ;
80+ websiteFields = websitePackageJson ?. websiteConfig ?? { } ;
8181 } catch ( error ) {
8282 // Most probably there is no website/package.json.
8383 }
Original file line number Diff line number Diff line change @@ -11,11 +11,20 @@ The website deployment is performed automatically when pushing to the
1111
1212- Open https://xpack.github.io/docs/maintainer/#publish-the-website in a separate window
1313- ** Stop** the local web server
14+ - Switch to the ` webpreview ` branch
15+ - ** Merge** the ` webpreview ` branch into the ` webpreview ` branch
16+ - ** Push** the ` webpreview ` branch to GitHub
17+ :::info
18+ At this point, an automated GitHub Action will generate and publish
19+ the [ preview website] ( https://xpack.github.io/web-preview/ ) .
20+ :::
1421- Switch to the ` website ` branch
1522- ** Merge** the ` webpreview ` branch into the ` website ` branch
1623- ** Push** the ` website ` branch to GitHub
1724 :::info
18- At this point, an automated GitHub Action will generate and publish the website.
25+ At this point, an automated forwarding GitHub Action will trigger
26+ a GitHub Action in the separate project to generate and publish
27+ the [ website] https://xpack.github.io/ .
1928 :::
2029- Check out the ` webpreview ` branch
2130- ** Wait** for the publication to complete
Original file line number Diff line number Diff line change 1212 * be obtained from https://opensource.org/licenses/mit.
1313 */
1414
15- import util from 'util' ;
15+ import util from 'util'
1616
1717// https://github.com/facebook/docusaurus/pull/9931
1818
You can’t perform that action at this time.
0 commit comments