Skip to content

Commit

Permalink
adapt github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sguimmara committed Sep 14, 2023
1 parent 4c5881e commit bce0386
Show file tree
Hide file tree
Showing 36 changed files with 2 additions and 5,301 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: 'pages/dist'
path: 'examples/dist'

- name: Deploy to GitHub Pages
id: deployment
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"start": "vite",
"prepack": "shx rm -fr dist/ && shx mkdir dist && npx copyfiles -u 1 './src/**/*.wgsl' dist && node scripts/prepare-package.mjs && npm run build",
"prepare": "husky install",
"dev": "cd pages && npm run dev",
"pages": "cd pages && npm install && npm run pages",
"pages": "npm run prepack && cd examples && npx vite build",
"prepare-examples": "node scripts/generate-example-index.mjs"
},
"devDependencies": {
Expand Down
15 changes: 0 additions & 15 deletions pages/.eslintrc.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions pages/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions pages/.prettierrc.json

This file was deleted.

8 changes: 0 additions & 8 deletions pages/.vscode/extensions.json

This file was deleted.

46 changes: 0 additions & 46 deletions pages/README.md

This file was deleted.

1 change: 0 additions & 1 deletion pages/env.d.ts

This file was deleted.

13 changes: 0 additions & 13 deletions pages/index.html

This file was deleted.

Loading

0 comments on commit bce0386

Please sign in to comment.