managarten/games/whopixels/assets/player.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

26 lines
800 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Player Image</title>
<style>
body { margin: 0; background: #333; display: flex; justify-content: center; align-items: center; height: 100vh; }
canvas { display: block; border: 1px solid #fff; background: #000; }
</style>
</head>
<body>
<canvas id="canvas" width="32" height="32"></canvas>
<script>
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
// Draw player
ctx.fillStyle = '#ff0000';
ctx.fillRect(0, 0, 32, 32);
ctx.fillStyle = '#ff5555';
ctx.fillRect(8, 8, 16, 16);
// Instructions (shown in console)
console.log('Right-click and save this image as player.png');
</script>
</body>
</html>