Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 71cfa81

Browse files
committed
fix: deploy site command
1 parent f92107f commit 71cfa81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"preview": "marko-run preview",
3030
"start": "marko-run",
3131
"test": "npm run build:css",
32-
"deploy": "node scripts/jekyll-config && BASE_URL=/skin/ marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/public/archive && touch _site/public/.nojekyll",
33-
"deploy:only": "node scripts/jekyll-config && marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/public/archive && touch _site/public/.nojekyll",
32+
"deploy": "node scripts/jekyll-config && BASE_URL=/skin/ marko-run build -o ./_site && npm run build:storybook && rimraf _site/public/archive && ncp docs/archive _site/public/archive && touch _site/public/.nojekyll",
33+
"deploy:only": "node scripts/jekyll-config && marko-run build -o ./_site && npm run build:storybook && rimraf _site/public/archive && ncp docs/archive _site/public/archive --dereference=true && touch _site/public/.nojekyll",
3434
"prebuild": "npm run clean",
3535
"prepublishOnly": "node scripts gen",
3636
"postpublish": "node scripts clean",

0 commit comments

Comments
 (0)