"Unable to find pages project" error with GitHub A...
# pages-help
s
I'm using the [pages action](https://github.com/cloudflare/pages-action) to deploy my site from GitHub Pages. This is the part of the Action that defines the Pages deployment
Copy code
yml
- 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:
Copy code
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
w
So, one of 3 variables is likely incorrect: * account ID * api token * project name
s
It appears that I was incorrectly using secrets (
$ {{secrets.CLOUDFLARE_ACCOUNT_ID}}
instead of
${{secrets.CLOUDFLARE_ACCOUNT_ID}}
)