diff --git a/.github/gen-page-preview/main.spec.ts b/.github/gen-page-preview/main.spec.ts index 6d25a131..bfc3bd07 100644 --- a/.github/gen-page-preview/main.spec.ts +++ b/.github/gen-page-preview/main.spec.ts @@ -36,7 +36,7 @@ async function scrollFullPage(page: Page) { test("page screenshot", async ({ page }) => { const files = execSync( - "git diff --diff-filter=ACMR --name-only HEAD^1 HEAD", + "git diff --diff-filter=ACMR --name-only master HEAD", { cwd: process.env.GITHUB_WORKSPACE + "/content/", }