mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
50063b7775
Upload and verify the checked-out English catalog before exporting translations so delayed webhooks cannot stall the scheduled workflow.
10 lines
262 B
JavaScript
10 lines
262 B
JavaScript
import { syncCrowdinSource } from './sync-crowdin-translations.mjs'
|
|
|
|
syncCrowdinSource({
|
|
token: process.env.CROWDIN_TOKEN,
|
|
projectId: process.env.CROWDIN_PROJECT_ID || undefined,
|
|
}).catch((error) => {
|
|
console.error(error.message)
|
|
process.exitCode = 1
|
|
})
|