Skip to content

Commit

Permalink
Init Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
windysha committed Jan 20, 2024
1 parent 00db542 commit 42d7dc5
Show file tree
Hide file tree
Showing 23 changed files with 6,162 additions and 96 deletions.
78 changes: 0 additions & 78 deletions .github/workflows/ci.yaml

This file was deleted.

8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
# update with the name of the main binary
binary: bevy_github_ci_template
binary: tetris
add_binaries_to_github_release: true
#itch_target: <itch.io-username>/<game-name>

Expand Down Expand Up @@ -38,6 +38,12 @@ jobs:
wasm-bindgen --no-typescript --out-name bevy_game --out-dir wasm --target web target/wasm32-unknown-unknown/release/${{ env.binary }}.wasm
cp -r assets wasm/
- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./wasm

- name: Package as a zip
working-directory: ./wasm
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/target
wasm/assets/
wasm/bevy_game.js
wasm/bevy_game_bg.wasm
Loading

0 comments on commit 42d7dc5

Please sign in to comment.