Skip to content

Commit

Permalink
fix(ci): read 'buildStatic' from the resolvedConfig rather than the c…
Browse files Browse the repository at this point in the history
…ommand options (#52)
  • Loading branch information
zZeepo authored Apr 29, 2023
1 parent bc0c49c commit 6edd529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function run() {
.sort((a, b) => a.path.localeCompare(b.path)),
)

if (options.buildStatic) {
if (resolvedConfig.ci?.buildStatic) {
logger.info('Generating static client.')
const { runtimeSettings } = useUnlighthouse()
await generateClient({ static: true })
Expand Down

0 comments on commit 6edd529

Please sign in to comment.