Skip to content

fix(ci): use project wrangler instead of outdated wrangler-action (#215) #61

fix(ci): use project wrangler instead of outdated wrangler-action (#215)

fix(ci): use project wrangler instead of outdated wrangler-action (#215) #61

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
repository_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- name: Install dependencies
run: npm ci
- name: Deploy
run: npx wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}