Merge pull request #10 from cyanolupus/bump-up-worker-rs-0.3.0 #10
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: main CI | |
concurrency: | |
group: main | |
cancel-in-progress: false | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Setup Wrangler | |
run: npm install wrangler --save-dev | |
- name: Setup Toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
targets: wasm32-unknown-unknown | |
- uses: jetli/[email protected] | |
with: | |
version: 'latest' | |
- name: Deploy | |
env: | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }} | |
run: npx wrangler deploy |