feat: initial hello-world app with CI/CD pipeline
CI/CD Pipeline / lint-test (push) Failing after 2m5s
CI/CD Pipeline / build-push (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
host-db
2026-06-20 11:57:31 +02:00
parent 8c9bfb64e8
commit 354e691ceb
5 changed files with 139 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
const express = require('express');
const app = express();
const PORT = process.env.PORT || 3000;
app.get('/', (req, res) => {
res.json({ message: 'Hello World from Gitea CI/CD!', timestamp: new Date().toISOString() });
});
app.get('/health', (req, res) => {
res.json({ status: 'ok' });
});
app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);
});