Skip to content

Bump cloudflare/wrangler-action from 3.3.1 to 3.3.2 #230

Bump cloudflare/wrangler-action from 3.3.1 to 3.3.2

Bump cloudflare/wrangler-action from 3.3.1 to 3.3.2 #230

Workflow file for this run

# https://docs.github.com/actions
name: Publish
on:
push:
permissions:
deployments: write
jobs:
publish:
name: Cloudflare Pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- name: Install NPM packages
run: npm ci
- name: Run build
run: npm run build --if-present
- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3.3.2
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} build