diff --git a/docs/widgets.md b/docs/widgets.md index 783fd26c..485b9635 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -57,6 +57,7 @@ Dashy has support for displaying dynamic content in the form of widgets. There a - [Nextcloud PHP OPcache](#nextcloud-php-opcache-stats) - [Sabnzbd](#sabnzbd) - [Gluetun VPN Info](#gluetun-vpn-info) + - [Drone.io](#drone-io-builds) - **[System Resource Monitoring](#system-resource-monitoring)** - [CPU Usage Current](#current-cpu-usage) - [CPU Usage Per Core](#cpu-usage-per-core) @@ -1910,6 +1911,40 @@ Display info from the Gluetun VPN container public IP API. This can show the IP --- +### Drone.io Builds + +Display the last builds from a (drone.io)(https://www.drone.io] instance. + +

+ +#### Options + +**Field** | **Type** | **Required** | **Description** +--- | --- | --- | --- +**`host`** | `string` | Required | The histname of the drone.io instance +**`apiKey`** | `string` | Required | The API key (https:///account) +**`limit`** | `integer` | Optional | Limit the amounts of listed builds. + +#### Example + +```yaml +- type: DroneIo + options: + host: https://drone.somedomain.com + apiKey: my-very-secret-api-key + limit: 10 +``` + +#### Info + +- **CORS**: 🟢 Enabled +- **Auth**: 🟢 Required +- **Price**: 🟢 Free +- **Host**: Self-Hosted (see [Drone](https://www.drone.io)) +- **Privacy**: _See [Drone](https://www.drone.io)_ + +--- + ## System Resource Monitoring ### Glances diff --git a/src/components/Widgets/DroneIo.vue b/src/components/Widgets/DroneIo.vue index 63adcab1..0924d75b 100644 --- a/src/components/Widgets/DroneIo.vue +++ b/src/components/Widgets/DroneIo.vue @@ -18,8 +18,7 @@