From 7f206116177238dc047381ffef5c3e845a0807c9 Mon Sep 17 00:00:00 2001 From: Mohammad Sajad Pourajam Date: Fri, 20 Mar 2026 02:45:41 +0330 Subject: [PATCH] CI/CD --- .gitea/workflows/ai.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/ai.yml b/.gitea/workflows/ai.yml index aa4efd3..ab759d3 100644 --- a/.gitea/workflows/ai.yml +++ b/.gitea/workflows/ai.yml @@ -59,20 +59,20 @@ jobs: - name: Run tests run: pytest -q - deploy: - name: Deploy AI Service - needs: test - if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/production' - runs-on: ubuntu-latest + # deploy: + # name: Deploy AI Service + # needs: test + # if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/production' + # runs-on: ubuntu-latest - steps: - - name: Deploy via SSH - uses: appleboy/ssh-action@v1 - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SSH_USER }} - port: ${{ secrets.SSH_PORT }} - key: ${{ secrets.SSH_PRIVATE_KEY }} - script: | - git pull origin production - docker compose up -d --build + # steps: + # - name: Deploy via SSH + # uses: appleboy/ssh-action@v1 + # with: + # host: ${{ secrets.SSH_HOST }} + # username: ${{ secrets.SSH_USER }} + # port: ${{ secrets.SSH_PORT }} + # key: ${{ secrets.SSH_PRIVATE_KEY }} + # script: | + # git pull origin production + # docker compose up -d --build