Static CMS
Star StaticJsCMS/static-cms on GitHubSponsor

Beta Feature

  • Name: gitea

For repositories stored on Gitea, the gitea backend allows CMS users to log in directly with their Gitea account. Note that all users must have push access to your content repository for this to work.


Because Gitea requires a server for authentication and Netlify doesn't support Gitea, a custom OAuth provider needs to be used for basic Gitea authentication.

To enable basic Gitea authentication:

  1. Setup an own OAuth provider, for example with Teabag.
  2. Add the following lines to your Static CMS config file:
  name: gitea
  repo: owner-name/repo-name # Path to your Gitea repository
  base_url: # URL of your OAuth provider
  api_root: # API url of your Gitea instance
  # optional, defaults to main
  # branch: main

Git Large File Storage (LFS)

Please note that the Gitea backend does not support git-lfs.