# GitHub Actions failure getAccountConfig(...)' as it is null.

**URL:** <https://community.hubspot.com/t/github-actions-failure-getaccountconfig-as-it-is-null/96376>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, oauth, professional\
**Created:** [December 19, 2023, 5:04am UTC](https://community.hubspot.com/t/github-actions-failure-getaccountconfig-as-it-is-null/96376 "2023-12-19T05:04:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RBoyd9](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@RBoyd9](https://community.hubspot.com/u/RBoyd9)\
**Post date:** [December 19, 2023, 5:04am UTC](https://community.hubspot.com/t/github-actions-failure-getaccountconfig-as-it-is-null/96376/1 "2023-12-19T05:04:59Z")

</div>

We use the [GitHub - HubSpot/hubspot-cms-deploy-action: GitHub Action to deploy HubSpot CMS projects · GitHub](https://github.com/HubSpot/hubspot-cms-deploy-action) to deploy our projects directly from GitHub. Today this started failing.

We have not changed and GitHub workflows or other nodeJs build scripts. The error is

```lia-code-sample
A hubspot.config.yml file could not be found
Error: Cannot destructure property 'auth' of 'getAccountConfig(...)' as it is null.
Error: Process completed with exit code 1.

```

The hubspot.config.yml has never been a problem before and is ignored in the .gitignore.

Currently we use

`uses: actions/setup-node@v3with: node-version: 18.x`

and have bumped to setup-nodev4 and node-version: 20.x to see if this would resolve it but it hasn’t.

---

<div class="post-metadata">

**Author:** ![RBoyd9](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@RBoyd9](https://community.hubspot.com/u/RBoyd9)\
**Post date:** [December 19, 2023, 7:12pm UTC](https://community.hubspot.com/t/github-actions-failure-getaccountconfig-as-it-is-null/96376/2 "2023-12-19T19:12:27Z")

</div>

This is fixed now as per [5.1.0 looks for hubspot.config.yml despite --use-env flag. · Issue #970 · HubSpot/hubspot-cli · GitHub](https://github.com/HubSpot/hubspot-cli/issues/970)
