Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aratama committed Nov 16, 2024
1 parent bbc41e8 commit 2e5cc0f
Show file tree
Hide file tree
Showing 42 changed files with 48 additions and 98 deletions.
46 changes: 46 additions & 0 deletions .github/workflow/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# https://github.com/bevyengine/bevy_github_ci_template/blob/main/.github/workflows/release.yaml

name: Release

on:
push:
branches: ["main"]

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

# Before enabling LFS, please take a look at GitHub's documentation for costs and quota limits:
# https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-storage-and-bandwidth-usage
use_git_lfs: false

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: olegtarasov/[email protected]
id: get_version
- uses: actions/checkout@v4
with:
lfs: ${{ env.use_git_lfs }}
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown

- name: install target wasm
run: rustup target add wasm32-unknown-unknown

- name: install trunk
run: cargo install --locked trunk

- name: Build
run: trunk build

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
/dist
.stage
.env
.env
docs
Binary file removed docs/assets/DotGothic16-Regular.ttf
Binary file not shown.
Binary file removed docs/assets/audio/dageki.ogg
Binary file not shown.
Binary file removed docs/assets/audio/hiyoko.ogg
Binary file not shown.
Binary file removed docs/assets/audio/kettei.ogg
Binary file not shown.
Binary file removed docs/assets/audio/kuzureru.ogg
Binary file not shown.
Binary file removed docs/assets/audio/shibafu.ogg
Binary file not shown.
Binary file removed docs/assets/audio/suburi.ogg
Binary file not shown.
Binary file not shown.
Binary file removed docs/assets/audio/カーソル移動2.ogg
Binary file not shown.
Binary file removed docs/assets/audio/キャンセル9.ogg
Binary file not shown.
Binary file removed docs/assets/audio/メニューを開く2.ogg
Binary file not shown.
Binary file removed docs/assets/audio/ワープ.ogg
Binary file not shown.
Binary file removed docs/assets/audio/体育館で走る.ogg
Binary file not shown.
Binary file removed docs/assets/audio/回復魔法1.ogg
Binary file not shown.
Binary file removed docs/assets/audio/革靴で走る.ogg
Binary file not shown.
Binary file removed docs/assets/bgm/realm.ogg
Binary file not shown.
Binary file removed docs/assets/bgm/they_bgm.ogg
Binary file not shown.
Binary file removed docs/assets/bgm/水のしたたる洞窟.ogg
Binary file not shown.
Binary file removed docs/assets/bgm/茫漠たる庭.ogg
Binary file not shown.
Binary file removed docs/assets/bgm/荒れ地の先へ.ogg
Binary file not shown.
Binary file removed docs/assets/entity/eyeball.aseprite
Binary file not shown.
Binary file removed docs/assets/entity/player.aseprite
Binary file not shown.
Binary file removed docs/assets/entity/slime.aseprite
Binary file not shown.
Binary file removed docs/assets/entity/stone_lantern.aseprite
Binary file not shown.
Binary file removed docs/assets/favicon.png
Binary file not shown.
Binary file removed docs/assets/icon.aseprite
Binary file not shown.
Binary file removed docs/assets/image/atlas.aseprite
Binary file not shown.
Binary file removed docs/assets/image/level.aseprite
Binary file not shown.
Binary file removed docs/assets/image/stone_lantern.aseprite
Binary file not shown.
Binary file removed docs/assets/image/title.aseprite
Binary file not shown.
Binary file removed docs/assets/image/title_cloud.aseprite
Binary file not shown.
Binary file removed docs/assets/image/title_cloud2.aseprite
Binary file not shown.
Binary file removed docs/assets/image/title_witch.aseprite
Binary file not shown.
16 changes: 0 additions & 16 deletions docs/assets/index.css

This file was deleted.

70 changes: 0 additions & 70 deletions docs/assets/restart-audio-context.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/index-56627a79e0752a1c.css

This file was deleted.

8 changes: 0 additions & 8 deletions docs/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/magiacircle-9949efff13842b68.js

This file was deleted.

Binary file removed docs/magiacircle-9949efff13842b68_bg.wasm
Binary file not shown.
1 change: 0 additions & 1 deletion docs/restart-audio-context-8127143435824044.js

This file was deleted.

0 comments on commit 2e5cc0f

Please sign in to comment.