@indiekit/store-bitbucket
v1.0.0-beta.27
Published
Bitbucket content store adaptor for Indiekit
Maintainers
Readme
@indiekit/store-bitbucket
Bitbucket content store adaptor for Indiekit.
Installation
npm install @indiekit/store-bitbucket
Requirements
[!IMPORTANT] Store your app password in an environment variable called
BITBUCKET_PASSWORDso that only you and the application can see it.
Usage
Add @indiekit/store-bitbucket to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/store-bitbucket"],
"@indiekit/store-bitbucket": {
"user": "username",
"repo": "reponame"
}
}Options
| Option | Type | Description |
| :--------- | :------- | :---------------------------------------------------------------------------------- |
| user | string | Your Bitbucket username. Required. |
| repo | string | The name of your Bitbucket repository. Required. |
| branch | string | The branch files will be saved to. Optional, defaults to main. |
| password | string | A Bitbucket app password. Required, defaults to process.env.BITBUCKET_PASSWORD. |
