Skip to content

Bump wrangler from 3.80.4 to 3.85.0 (#380) #57

Bump wrangler from 3.80.4 to 3.85.0 (#380)

Bump wrangler from 3.80.4 to 3.85.0 (#380) #57

name: Deploy to Cloudflare Pages
on:
push:
branches: [main]
paths-ignore:
- "google/**"
workflow_dispatch:
jobs:
ci:
name: CI
uses: "./.github/workflows/ci.yml"
deploy:
name: Deploy
permissions:
contents: read
deployments: write
needs: ci
runs-on: ubuntu-latest
environment:
name: spaceholder-cc (Production)
url: https://spaceholder.cc
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: npm
- run: npm ci
- run: npm run build
- uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy _site --project-name=spaceholder-cc
wranglerVersion: 3