Skip to content

Update DeployToCloudflare.yml #5

Update DeployToCloudflare.yml

Update DeployToCloudflare.yml #5

name: Deploy To Cloudflare
on:
push:
branches:
- main
repository_dispatch:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: npm install
- name: Install cheerio
run: npm install cheerio
- name: Install crypto-js
run: npm install crypto-js
- name: Debug
run: echo "Using Cloudflare Account ID: ${{ secrets.CF_TEST }}"

Check failure on line 22 in .github/workflows/DeployToCloudflare.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/DeployToCloudflare.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}