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

Commit 7fa4ed2

Browse files
committed
chore: fixed marko run path changes
1 parent fbc617c commit 7fa4ed2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
- run: npm run deploy
4747
- name: Upload artifact
4848
uses: actions/upload-pages-artifact@v3
49+
with:
50+
path: _site/public
4951

5052
# Deployment job
5153
deploy:

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
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/archive && touch _site/.nojekyll",
33-
"deploy:only": "node scripts/jekyll-config && marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/archive && touch _site/.nojekyll",
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",
3434
"prebuild": "npm run clean",
3535
"prepublishOnly": "node scripts gen",
3636
"postpublish": "node scripts clean",
3737
"build": "npm run build:css && npm run lint:js && npm run copy",
3838
"build:css": "npm run lint:sass && rimraf dist && npm run bundle && npm run postcss && node scripts/add-y-comments.js && prettier dist --write && npm run lint:css",
39-
"build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./_site/storybook",
39+
"build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./_site/public/storybook",
4040
"clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
4141
"bundle": "sass src/sass:dist --no-source-map",
4242
"postcss": "postcss dist/**/*.css -r ",

0 commit comments

Comments
 (0)