Skip to content

Commit

Permalink
fix: web deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mosure committed May 15, 2024
1 parent b09764c commit 3255153
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1


jobs:
build:
deploy:
runs-on: macos-latest

steps:
Expand Down Expand Up @@ -43,19 +44,6 @@ jobs:
- name: copy assets
run: mkdir -p ./www/assets && cp -r ./assets/* ./www/assets/

- name: upload artifact for github pages
uses: actions/upload-pages-artifact@v1
with:
path: ./www

deploy:
needs: build
runs-on: macos-latest

steps:
- name: checkout repository
uses: actions/checkout@v3

- name: deploy to github pages
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ viewer = [
]

web = [
"buffer_texture",
"buffer_storage",
"f16",
"io_flexbuffers",
"io_ply",
"planar",
"precompute_covariance_3d",
"sort_std",
"viewer",
"webgl2",
"webgpu",
]

webgl2 = ["bevy/webgl2"]
Expand Down

0 comments on commit 3255153

Please sign in to comment.