fix: Update CI/CD pipeline for Next.js
Some checks failed
build-website / build (push) Failing after 35s

- Updated Gitea workflow to build Next.js instead of Nuxt
- Removed working-directory references to apps/website
- Created Dockerfile for Next.js production builds
- Added standalone output mode to next.config.js for Docker
- Updated build and artifact paths in workflow

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Matt
2025-09-26 16:23:28 +02:00
parent d0f33f66f3
commit 634257442c
3 changed files with 45 additions and 9 deletions

View File

@@ -18,15 +18,9 @@ jobs:
- name: Install dependencies
run: npm ci
working-directory: apps/website
- name: Nuxt prepare
run: npm run postinstall
working-directory: apps/website
- name: Build Nuxt
- name: Build Next.js
run: npm run build
working-directory: apps/website
- name: Install Docker CLI
run: |
@@ -40,7 +34,7 @@ jobs:
env:
IMAGE: code.harborsmith.co/matt/website
run: |
docker build -f apps/website/Dockerfile.prod -t $IMAGE:${{ github.sha }} apps/website
docker build -f Dockerfile -t $IMAGE:${{ github.sha }} .
docker push $IMAGE:${{ github.sha }}
docker tag $IMAGE:${{ github.sha }} $IMAGE:latest
docker push $IMAGE:latest
@@ -49,4 +43,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: website-dist
path: apps/website/.output/public
path: .next