chore: ci

This commit is contained in:
Anthony Fu 2020-12-14 15:34:42 +08:00
parent 4b24baaab4
commit 9f553c0207

View File

@ -2,4 +2,6 @@ import { execSync } from 'child_process'
// @ts-ignore
import { path } from 'chromium'
console.log('Starting SSG...')
execSync(`npx cross-env CHROME_PATH="${path}" presite dist`, { stdio: 'inherit' })
console.log('SSG Finished...')