Skip to content

Commit 57ff152

Browse files
authored
Merge pull request #97 from TrueNine/dev
fix: repair docs deploy and windows path test
2 parents b619de6 + 773c66d commit 57ff152

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy-doc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
fi
5151
5252
- name: Pull Vercel production settings
53-
run: pnpm dlx vercel@latest pull --yes --environment=production --cwd doc --token="$VERCEL_TOKEN"
53+
run: pnpm dlx vercel@latest pull --yes --environment=production --token="$VERCEL_TOKEN"
5454

5555
- name: Build docs on Vercel
56-
run: pnpm dlx vercel@latest build --prod --cwd doc --token="$VERCEL_TOKEN"
56+
run: pnpm dlx vercel@latest build --prod --token="$VERCEL_TOKEN"
5757

5858
- name: Deploy docs to Vercel production
59-
run: pnpm dlx vercel@latest deploy --prebuilt --prod --cwd doc --token="$VERCEL_TOKEN"
59+
run: pnpm dlx vercel@latest deploy --prebuilt --prod --token="$VERCEL_TOKEN"

cli/src/runtime-environment.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('runtime environment', () => {
5151
USERPROFILE: windowsHomeDir
5252
},
5353
homedir: windowsHomeDir
54-
})).toBe(path.join(windowsHomeDir, '.codex', 'config.toml'))
54+
})).toBe(path.win32.join(windowsHomeDir, '.codex', 'config.toml'))
5555
})
5656

5757
it('selects the host config path that matches the current Windows profile in WSL', () => {

0 commit comments

Comments
 (0)