From bab38dda02f48edc113d05d7d4e5ec483ba31d32 Mon Sep 17 00:00:00 2001 From: Admin Date: Sat, 20 Dec 2025 22:18:20 +0000 Subject: [PATCH] Add Gitea Actions workflow --- .gitea/workflows/deploy.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..8c63470 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,31 @@ +name: Deploy Frontend + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Install dependencies + run: npm install + + - name: Build project + run: npm run build + + - name: Restart Docker container + run: | + cd /home/n8n + docker-compose build smart-search + docker-compose up -d smart-search +