File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 run : pnpm install --prefer-offline --frozen-lockfile
7070
7171 - name : Generate docs
72- working-directory : docs
72+ # FIXME uncomment this if you use inside another repo
73+ # working-directory: docs
7374 env :
7475 APP_ENV : production
7576 run : pnpm run generate:docs
@@ -131,4 +132,4 @@ jobs:
131132 APP_ENV=production
132133 GITHUB_OWNER=${{ github.repository_owner }}
133134 GITHUB_REPO=${{ github.event.repository.name }}
134- GITHUB_REPO_URL=https://github.com/${{ github.repository }}
135+ GITHUB_REPO_URL=https://github.com/${{ github.repository }}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const outputDir = "generated-docs"
3636const APP_ENV = getServerEnv ( ) . APP_ENV
3737// Auto-detect a docs workspace: prefer CWD if it contains `content/`, otherwise try ./docs
3838function findDocsWorkspace ( start : string ) {
39- const candidates = [ start ]
39+ const candidates = [ start , resolve ( start , "docs" ) ]
4040 // biome-ignore lint/suspicious/noConsole: TODO REMOE THIS
4141 console . log ( "Candidates for docs workspace:" , candidates )
4242 for ( const dir of candidates ) {
You can’t perform that action at this time.
0 commit comments