From c09817faaca9d28be86b77feeaf0307439e3a241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=97=D0=B0=D0=B8=D0=B4=20=D0=9E=D0=BC=D0=B0=D1=80=20?= =?UTF-8?q?=D0=9C=D0=B5=D0=B4=D1=85=D0=B0=D1=82=20=7C=20Zaid=20Omar=20Medh?= =?UTF-8?q?at?= Date: Mon, 26 Jan 2026 18:02:20 +0500 Subject: [PATCH] chore: add CI/CD --- .gitea/deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/deploy.yml diff --git a/.gitea/deploy.yml b/.gitea/deploy.yml new file mode 100644 index 0000000..47e960d --- /dev/null +++ b/.gitea/deploy.yml @@ -0,0 +1,24 @@ +name: Deploy Production + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + deploy: + runs-on: docker + container: + image: docker:latest + steps: + - name: Install git + run: apk add --no-cache git + + - name: Clone repository + run: git clone --depth 1 https://git.ai-assistant-bot.xyz/root/portfolio.git . + + - name: Build & Deploy + run: | + docker compose -f docker-compose.server.yml build + docker compose -f docker-compose.server.yml up -d