Skip to content

Update wrangler.toml #2

Update wrangler.toml

Update wrangler.toml #2

Workflow file for this run

name: Deploy Worker
on:
push:
pull_request:
repository_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- run: npm i
- run: sed -i s/KV_NAME/${{ secrets.KV_NAME }}/g wrangler.toml
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}