REFACTOR(repo): simplify project structure
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
CI / lint-and-build (push) Has been cancelled

- Move services/nextjs/ to nextjs/
- Move Dockerfile.prod to Dockerfile at root
- Remove deploy/ folder (K8s manifests moved to K3S-HOME/web-apps)
- Remove .gitea/ workflows
- Update GitHub Actions for new structure
- Remove develop branch triggers
This commit is contained in:
2026-01-05 02:02:29 +09:00
parent 39dfb89e57
commit 232d0d8762
90 changed files with 17 additions and 795 deletions

View File

@@ -2,9 +2,9 @@ name: CI
on:
push:
branches: [main, develop]
branches: [main]
pull_request:
branches: [main, develop]
branches: [main]
jobs:
lint-and-build:
@@ -19,27 +19,27 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: services/nextjs/package-lock.json
cache-dependency-path: nextjs/package-lock.json
- name: Install dependencies
working-directory: services/nextjs
working-directory: nextjs
run: npm ci
- name: Run ESLint
working-directory: services/nextjs
working-directory: nextjs
run: npm run lint
- name: Build Next.js application
working-directory: services/nextjs
working-directory: nextjs
run: npm run build
env:
NEXT_TELEMETRY_DISABLED: 1
- name: Check build output
working-directory: services/nextjs
working-directory: nextjs
run: |
if [ ! -d ".next" ]; then
echo "Build failed: .next directory not found"
exit 1
fi
echo "Build completed successfully"
echo "Build completed successfully"