Skip to content

Config undefined #41

@Wiz1991

Description

@Wiz1991

Copy pasted the yaml file from the examples and just changed the secrets/env.
Getting the following error:

There was an unexpected error. It's possible that your Cloudflare Pages deploy is still in progress or was successful. Go to https://dash.cloudflare.com/***/pages/view/*** for more details.
To report a bug, open an issue at https://github.com/tomjschuster/cloudflare-pages-deploy-action/issues
Error: TypeError: Cannot read properties of undefined (reading 'config')
Error: Cannot read properties of undefined (reading 'config')
TypeError: Cannot read properties of undefined (reading 'config')
    at projectRepo (/home/runner/work/_actions/tomjschuster/cloudflare-pages-deploy-action/v0/webpack:/cloudflare-pages-deploy/src/run.ts:[14](https://github.com/nignite/grapher/actions/runs/3296035699/jobs/5435227422#step:2:15)4:1)
    at isProjectRepo (/home/runner/work/_actions/tomjschuster/cloudflare-pages-deploy-action/v0/webpack:/cloudflare-pages-deploy/src/run.ts:147:1)
    at deriveBranch (/home/runner/work/_actions/tomjschuster/cloudflare-pages-deploy-action/v0/webpack:/cloudflare-pages-deploy/src/run.ts:68:1)
    at /home/runner/work/_actions/tomjschuster/cloudflare-pages-deploy-action/v0/webpack:/cloudflare-pages-deploy/src/run.ts:34:1
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/tomjschuster/cloudflare-pages-deploy-action/v0/webpack:/cloudflare-pages-deploy/src/run.ts:5:1)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions