Skip to content

Update hero image with correct version: #146

Update hero image with correct version:

Update hero image with correct version: #146

Workflow file for this run

name: Deploy beta to Cloudflare

Check failure on line 1 in .github/workflows/beta_deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/beta_deploy.yml

Invalid workflow file

(Line: 22, Col: 9): Unexpected value 'node-version'
on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: ["2.0"]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v6.3.0
node-version: 22.22.x
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install dependencies
run: npm run install
- name: Build website
run: npm run build
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: beta