diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 64b0e55..14a25b1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 '
' > 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/github-pages-deploy-action@4.1.5 with: branch: gh-pages - folder: out # Deploy only the out folder \ No newline at end of file + folder: . # Deploy the entire root directory + clean: false # Don't remove existing files \ No newline at end of file