update #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Install Rust toolchain" | |
run: rustup target add wasm32-unknown-unknown | |
- name: Cache | |
uses: Swatinem/rust-cache@v1 | |
- name: Deploy | |
uses: cloudflare/wrangler-action@v3.3.2 | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
# run: cargo install wrangler && wrangler publish |