Southpaw1496
05/20/2023, 9:55 AMyml
- 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: 09646c990f5cc498559b98c4427677d6Walshy | Pages
05/20/2023, 10:03 AMSouthpaw1496
05/20/2023, 11:07 AM$ {{secrets.CLOUDFLARE_ACCOUNT_ID}}
instead of ${{secrets.CLOUDFLARE_ACCOUNT_ID}}
)