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() { `