☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

_structures_from_glob[*]

Table of contents

Description:

This key represents an individual glob pattern string in the _structures_from_glob array.

The value is a string that specifies a file path pattern relative to the root of your repository. The path must end in the file extension .cloudcannon.structures.yml.

Appears in:
└── _structures_from_glob
    └── [*]
Type:
string
Examples:

In this example, we have several Structure Configuration Files in the .cloudcannon/structures/ folder. The value of the _structures_from_glob key tells CloudCannon to use the staffMembers.cloudcannon.structures.yml file in that folder.

Copied to clipboard
_structures_from_glob:
  - /.cloudcannon/structures/staffMembers.cloudcannon.structures.yml
{
  "_structures_from_glob": [
    "/.cloudcannon/structures/staffMembers.cloudcannon.structures.yml"
  ]
}
Open in a new tab