Skip to content

Commit

Permalink
chore: fixed marko run path changes
Browse files Browse the repository at this point in the history
  • Loading branch information
agliga committed Jan 29, 2025
1 parent fbc617c commit 7fa4ed2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
- run: npm run deploy
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site/public

# Deployment job
deploy:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
"preview": "marko-run preview",
"start": "marko-run",
"test": "npm run build:css",
"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",
"deploy:only": "node scripts/jekyll-config && marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/archive && touch _site/.nojekyll",
"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",
"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",
"prebuild": "npm run clean",
"prepublishOnly": "node scripts gen",
"postpublish": "node scripts clean",
"build": "npm run build:css && npm run lint:js && npm run copy",
"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",
"build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./_site/storybook",
"build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./_site/public/storybook",
"clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
"bundle": "sass src/sass:dist --no-source-map",
"postcss": "postcss dist/**/*.css -r ",
Expand Down

0 comments on commit 7fa4ed2

Please sign in to comment.