Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadeperfect committed Aug 27, 2024
1 parent bcb285f commit e95ffe1
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,9 @@ jobs:
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-dir ./out/ --target web ./target/wasm32-unknown-unknown/release/bevy_wireframe.wasm
- name: Prepare deployment
run: |
# Create index.html in the out directory
echo '<html><head><script type="module">
import init from "./bevy_wireframe.js";
init();
</script></head><body></body></html>' > out/index.html
# Copy any other necessary files (like assets) to the out directory
cp -r assets out/
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: out # Deploy only the out folder
folder: . # Deploy the entire root directory
clean: false # Don't remove existing files

0 comments on commit e95ffe1

Please sign in to comment.