Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
adds a new github page for experimental webgpu support
  • Loading branch information
do-me authored Sep 4, 2024
1 parent f148689 commit 3c0c891
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy to GitHub Pages
name: Deploy to GitHub Pages (WebGPU)

on:
push:
branches:
- main
- webgpu

jobs:
deploy:
Expand All @@ -24,8 +24,13 @@ jobs:
- name: Build
run: npm run build

- name: Prepare WebGPU Directory
run: |
mkdir -p ./webgpu
cp -r ./dist/* ./webgpu/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_dir: ./webgpu

0 comments on commit 3c0c891

Please sign in to comment.