Skip to content

Update Cargo.toml

Update Cargo.toml #85

Workflow file for this run

name: Build and Deploy to Github Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup default nightly
- run: rustup target add wasm32-unknown-unknown
- uses: jetli/wasm-bindgen-action@v0.2.0
with:
version: 0.2.88
- run: cargo install wasm-opt@0.116.0
- uses: denoland/setup-deno@v1
- run: make release
- run: make clean
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Built static/
commit_user_name: BlackAsLight
commit_user_email: 44320105+BlackAsLight@users.noreply.github.com
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v1
with:
path: 'static/'
- id: deployment
uses: actions/deploy-pages@v2