From 9db2e59e5babfdc9d1859bba2ce53c3a8131cfb8 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 Apr 2026 19:46:13 -0300 Subject: [PATCH] Fix deploy workflow: replace rsync with tar+scp for runner compatibility Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/deploy.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index c8b7d9a..d85d465 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -24,11 +24,13 @@ jobs: - name: Sync skill to server run: | - rsync -az --delete \ - -e "ssh -i ~/.ssh/deploy_key" \ - --exclude='.git' \ - --exclude='.gitea' \ - ./ ubuntu@${{ secrets.OCI_HOST }}:/home/ubuntu/oci-deal-accelerator-oracle/oci-deal-accelerator/ + tar --exclude='.git' --exclude='.gitea' -czf /tmp/skill.tar.gz . + scp -i ~/.ssh/deploy_key /tmp/skill.tar.gz ubuntu@${{ secrets.OCI_HOST }}:/tmp/skill.tar.gz + ssh -i ~/.ssh/deploy_key ubuntu@${{ secrets.OCI_HOST }} ' + rm -rf /home/ubuntu/oci-deal-accelerator-oracle/oci-deal-accelerator/* + tar -xzf /tmp/skill.tar.gz -C /home/ubuntu/oci-deal-accelerator-oracle/oci-deal-accelerator/ + rm /tmp/skill.tar.gz + ' - name: Restart containers run: |