Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarpenter622 committed Apr 26, 2023
1 parent 4f1f039 commit bfd2c37
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,19 @@ jobs:
run: |
find ./_examples/widget_demos -maxdepth 1 -mindepth 1 -type d -exec bash -c 'MARK=$(basename "{}") && GOOS=js GOARCH=wasm go build -o ./wasm/$MARK.wasm {}' \;
ls ./wasm
- name: Deploy Examples
- name: Deploy Examples to docs/wasm
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./wasm # The folder the action should deploy.
branch: master
target-folder: docs/wasm
repository-name: ebitenui/ebitenui.github.io
token: ${{ secrets.EBITENUI_TOKEN }}
- name: Deploy Examples to content/wasm
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./wasm # The folder the action should deploy.
branch: master
target-folder: content/wasm
repository-name: ebitenui/ebitenui.github.io
token: ${{ secrets.EBITENUI_TOKEN }}

0 comments on commit bfd2c37

Please sign in to comment.