feat(editor): add advanced rich text features and update deployment configuration
Some checks failed
Deploy to Coolify / deploy (push) Failing after 7m5s

- Enhance lexical editor with formatting options (strikethrough, inline code, subscript, superscript), lists (unordered, ordered, checklist), tables, alignment, indentation, blockquotes, horizontal rules, uploads, and relationships
- Update Dockerfile for improved build process, including .npmrc support, pnpm config, telemetry disable, and production optimizations
- Modify CI workflow to deploy only, removing local build steps and updating webhook trigger
- Add .dockerignore file and deployment documentation for Docker build and push workflow
- Configure Next.js for standalone output in next.config.js

BREAKING CHANGE: CI workflow now requires local Docker builds before pushing code, as automated builds have been removed.
This commit is contained in:
2025-12-03 14:59:13 +08:00
parent 794e2144e8
commit b6349bf173
7 changed files with 252 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
name: Build and Deploy
run-name: ${{ gitea.actor }} is building and deploying to Coolify 🚀
name: Deploy to Coolify
run-name: ${{ gitea.actor }} is deploying to Coolify 🚀
on:
push:
@@ -7,28 +7,9 @@ on:
- master
jobs:
build-and-deploy:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/website-ricenoodletw-cms:latest
- name: Trigger Coolify Deployment
run: |
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
curl -X POST "${{ secrets.COOLIFY_WEBHOOK_URL }}"