Skip to content

Commit 9f02f0f

Browse files
authored
Fix MDX pipeline saveImages step (#3128)
This PR adds the docs prefix to the `destFolder` used to store the images in the MDX pipeline. This was necessary to be able to generate the latest runtime version in #3127 It also removes the `.gitkeep` file for the learning/courses because it's not necessary anymore.
1 parent be318fc commit 9f02f0f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

learning/courses/.gitkeep

Whitespace-only changes.

scripts/js/lib/api/saveImages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export async function saveImages(
5252
publicBaseFolder: string,
5353
pkg: Pkg,
5454
) {
55-
const destFolder = pkg.outputDir(`${publicBaseFolder}/images`);
55+
const destFolder = pkg.outputDir(`${publicBaseFolder}/docs/images`);
5656
if (!(await pathExists(destFolder))) {
5757
await mkdirp(destFolder);
5858
}

0 commit comments

Comments
 (0)