Skip to content

Commit fdfeadc

Browse files
committed
Migration
1 parent 172b22e commit fdfeadc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.1",
55
"scripts": {
66
"dev": "npm run build:md && astro dev",
7-
"prebuild": "mkdir -p public && rm -rf public/FF_img public/img_webhook_flows && cp -r src/assets/shared/FF_img src/content/docs/version-3.0/img_webhook_flows public/",
7+
"prebuild": "mkdir -p public && rm -rf public/FF_img public/img_webhook_flows && [ -d src/assets/shared/FF_img ] && cp -r src/assets/shared/FF_img public/ || true && [ -d src/content/docs/version-3.0/img_webhook_flows ] && cp -r src/content/docs/version-3.0/img_webhook_flows public/ || true",
88
"build": "astro build && npm run build:md:prod",
99
"build:md": "node scripts/generate-md.mjs && node scripts/generate-llms.mjs",
1010
"build:md:prod": "node scripts/generate-md.mjs ../build && node scripts/generate-llms.mjs ../build",

0 commit comments

Comments
 (0)