managarten/games/whopixels/assets/background.html
Till JS 8511c2ca4c feat(cd): add Matrix notification on deploy failure
Sends a message to a Matrix room when a deploy fails, including
the failing services, commit, deployer, and a link to the logs.

Requires two GitHub Actions secrets:
- DEPLOY_NOTIFY_ROOM_ID: Matrix room ID
- DEPLOY_NOTIFY_BOT_TOKEN: Matrix bot access token

Skips silently if secrets are not configured.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 19:47:53 +01:00

35 lines
990 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Background Image</title>
<style>
body { margin: 0; background: #222233; }
canvas { display: block; }
</style>
</head>
<body>
<canvas id="canvas" width="800" height="600"></canvas>
<script>
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
// Fill background
ctx.fillStyle = '#222233';
ctx.fillRect(0, 0, 800, 600);
// Add some pattern
ctx.fillStyle = '#1a1a2a';
for (let i = 0; i < 100; i++) {
const x = Math.random() * 800;
const y = Math.random() * 600;
const size = Math.random() * 5 + 2;
ctx.fillRect(x, y, size, size);
}
// Instructions
ctx.fillStyle = '#ffffff';
ctx.font = '20px Arial';
ctx.fillText('Right-click and save this image as background.png', 200, 300);
</script>
</body>
</html>