Gitea content store adaptor for Indiekit.
npm i @indiekit/store-gitea
Add @indiekit/store-gitea
to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/store-gitea"],
"@indiekit/store-gitea": {
"user": "username",
"repo": "reponame"
}
}
Option | Type | Description |
---|---|---|
instance |
string |
Gitea instance URL. Optional, defaults to https://gitea.com . |
user |
string |
Your Gitea username. Required. |
repo |
string |
The name of your Gitea repository. Required. |
branch |
string |
The branch files will be saved to. Optional, defaults to main . |
token |
string |
A Gitea access token. Required, defaults to process.env.GITEA_TOKEN . |