Skip to content

Commit

Permalink
fix(deploy): Maybe fixes bundle path
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor G Meehan committed Feb 17, 2024
1 parent 9f74ce5 commit e73fe81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ jobs:
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: "Build Bevy Examples"
run: cd examples/vite-app && pnpm build

- name: Bundle artiface
run: cd dist && tar -czvf ../github-pages.tar.gz ./
run: cd examples/vite-app && pnpm build && pnpm github-pages-bundle

- uses: actions/upload-artifact@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion examples/vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"type": "module",
"scripts": {
"dev": "concurrently \"vite\" \"cd bevy-app && wasm-pack build --dev\"",
"build:wasm": "cd bevy-app && wasm-pack build && cd ..",
"build": "pnpm run build:wasm && tsc && vite build",
"build:wasm": "cd bevy-app && wasm-pack build && cd ..",
"github-pages-bundle": "cd dist && tar -czvf ../github-pages.tar.gz ./",
"preview": "vite preview"
},
"dependencies": {
Expand Down

0 comments on commit e73fe81

Please # to comment.