From c4eab94ba933d196fd40ca411f44028942fa0e7c Mon Sep 17 00:00:00 2001 From: elishadavidi <62501723+elishadavidi@users.noreply.github.com> Date: Thu, 28 May 2026 20:26:32 +0300 Subject: [PATCH] Update to 15 mins` --- .woodpecker.yaml | 13 +++++++++++++ index.js | 32 +++++++++++++++++++++++++------- 2 files changed, 38 insertions(+), 7 deletions(-) create mode 100644 .woodpecker.yaml diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..d06351b --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,13 @@ +steps: + build-and-push: + when: + event: [push] + branch: [main] + image: plugins/docker + settings: + repo: elisha852/omegabasms + tags: latest + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD diff --git a/index.js b/index.js index aab096f..3c58db0 100644 --- a/index.js +++ b/index.js @@ -267,7 +267,7 @@ async function startClient() { } const http = require('http'); -function renderDashboard() { +function renderDashboard(clientState) { const uptime = Math.floor((Date.now() - startTime) / 1000); const h = Math.floor(uptime / 3600); const m = Math.floor((uptime % 3600) / 60); @@ -286,7 +286,7 @@ function renderDashboard() { `