"Unable to find pages project" error with GitHub Actions

I'm using the pages action to deploy my site from GitHub Pages. This is the part of the Action that defines the Pages deployment
- name: Deploy        uses: https://github.com/cloudflare/pages-action@v1        with:          apiToken: $ {{ secrets.CLOUDFLARE_API_TOKEN }}          accountID: $ {{ secrets.CLOUDFLARE_ACCOUNT_ID }}          projectName: "website"          directory: "dist"          gitHubToken: $ {{ secrets.GITHUB_TOKEN }}


When I run it, it fails with this error:
run/act/actions/https---github.com-cloudflare-pages-action@v1/index.js:221582      throw new Error("Unable to find pages project");3            ^45Error: Unable to find pages project6    at /run/act/actions/https---github.com-cloudflare-pages-action@v1/index.js:22158:137    at processTicksAndRejections (node:internal/process/task_queues:96:5)

The project I am trying to deploy is called "website" so I don't know how to tell what phase of the process is going wrong. The only thing I've thought to try is giving the token read and write permissions instead of just write.

Account ID: 09646c990f5cc498559b98c4427677d6
GitHub
Contribute to cloudflare/pages-action development by creating an account on GitHub.
Was this page helpful?