chore: Enhance Gitea deployment workflow and add Gitea runner status check script
Some checks failed
Dev Deployment (Zero Downtime) / deploy-dev (push) Failing after 7m46s

- Updated deployment script to check for existing containers and free ports before starting a new container.
- Added a new script to check the status of the Gitea runner, including service checks, running processes, Docker containers, common directories, and network connections.
This commit is contained in:
2026-01-15 16:00:44 +01:00
parent 098e7ab6f4
commit 38d99a504d
5 changed files with 156 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ export async function GET(request: NextRequest) {
let data: unknown;
try {
data = JSON.parse(raw);
} catch (parseError) {
} catch (_parseError) {
// Sometimes upstream sends HTML or a partial response; include a snippet for debugging.
const snippet = raw.slice(0, 240);
throw new Error(

View File

@@ -80,7 +80,7 @@ export async function GET(request: NextRequest) {
let data: unknown;
try {
data = JSON.parse(raw);
} catch (parseError) {
} catch (_parseError) {
// Sometimes upstream sends HTML or a partial response; include a snippet for debugging.
const snippet = raw.slice(0, 240);
throw new Error(

View File

@@ -1,6 +1,6 @@
"use client";
import { useState, useEffect } from 'react';
import { useState } from 'react';
import { motion } from 'framer-motion';
import { Heart, Code } from 'lucide-react';
import { SiGithub, SiLinkedin } from 'react-icons/si';