Skip to content

Merge pull request #2 from vectorgameexperts/dependabot/github_action… #18

Merge pull request #2 from vectorgameexperts/dependabot/github_action…

Merge pull request #2 from vectorgameexperts/dependabot/github_action… #18

Workflow file for this run

name: release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup | Toolchain
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-unknown
toolchain: stable
- uses: jetli/[email protected]
with:
# Optional version of trunk to install(eg. 'v0.16.0', 'latest')
version: 'latest'
# Install cargo deps
- name: Trunk build
run: |
trunk build --release --public-url /bevy_vello/
mv favicon.ico ./dist/favicon.ico
# Deploy, GitHub Pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist