Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 833 Bytes

File metadata and controls

27 lines (25 loc) · 833 Bytes
    1. Add the `token` and `user` (username associated with the app password you created) properties to your connection config:
    ```json
    {
        "type": "bitbucket",
        "deploymentType": "cloud",
        "user": "myusername",
        "token": {
            // note: this env var can be named anything. It
            // doesn't need to be `BITBUCKET_TOKEN`.
            "env": "BITBUCKET_TOKEN"
        }
        // .. rest of config ..
    }
    ```

    2. Pass this environment variable each time you run Sourcebot:
    ```bash
    docker run \
        -e BITBUCKET_TOKEN=<PAT> \
        /* additional args */ \
        ghcr.io/sourcebot-dev/sourcebot:latest
    ```
</Tab>