raw-site.yml must be placed at the GitHub repository root folder and defines global settings.
This file configures the API endpoint to be enabled (i.e. published by RAW) and to be prefixed by the path
/hello-world, which is defined by
raw: 0.9 # Site spec file version, only 0.9 is allowed (required)
publishUrl: hello-world # If defined, adds this as base path
# to all endpoints in this repository/branch (optional)
enabled: true # If not specified, defaults to true (optional).
# If false, the branch will remain as inactive and will not be published.
prefixWithBranchName: true # If set to true the branch name will be prepended
# to the endpoint url (optional).
skipPrefixForBranches: # List of branch names to not be prefixed in the path (optional).
|raw||string||yes||Site spec version (only 0.9 is allowed).|
|publishURL||string||no||Adds a base path to all endpoints.|
If defined, all endpoints in this branch will be published at: https://
If not defined, all endpoints in this branch will be published at: https://
|prefixWithBranchName||boolean||no||If set to true, the branch name will be prepended to the endpoint url.|
|skipPrefixForBranches||array[string]||no||Contains the list of branches that should not be prefixed with the branch name. Default is 'main' and 'master'.|
|enabled||boolean||no||Indicates if the repository/branch is enabled for publication. If false, the branch will be rendered as |