Skip to content

add deploy job

add deploy job #1

Workflow file for this run

name: Deploy to Cloudflare Pages
on:
push:
workflow_dispatch:
concurrency:
group: deployment-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: extractions/setup-just@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
profile: minimal
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
wranglerVersion: "3.79.0"
- run: just deploy