From 4609419600f476874959876a43c12c057acb67ea Mon Sep 17 00:00:00 2001 From: roga134 Date: Fri, 7 Aug 2026 20:47:01 +0000 Subject: [PATCH] fix ci/cd --- .gitea/workflows/deploy.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 37a87ce..6df367d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -8,9 +8,14 @@ on: jobs: deploy: runs-on: ubuntu-latest - steps: - - name: Deploy - run: | - cd /home/main/Odoo - ./deploy.sh + - name: SSH to server and run deploy script + uses: appleboy/ssh-action@v1.0.3 + with: + host: 87.248.130.21 + username: main + port: 9011 + password: ${{ secrets.SERVER_PASSWORD }} + script: | + cd /home/main/Odoo + ./deploy.sh