Fix deploy workflow: replace rsync with tar+scp for runner compatibility
Some checks failed
Deploy Skill to OCI / deploy (push) Failing after 9s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
root
2026-04-13 19:46:13 -03:00
parent f6f355c465
commit 9db2e59e5b

View File

@@ -24,11 +24,13 @@ jobs:
- name: Sync skill to server - name: Sync skill to server
run: | run: |
rsync -az --delete \ tar --exclude='.git' --exclude='.gitea' -czf /tmp/skill.tar.gz .
-e "ssh -i ~/.ssh/deploy_key" \ scp -i ~/.ssh/deploy_key /tmp/skill.tar.gz ubuntu@${{ secrets.OCI_HOST }}:/tmp/skill.tar.gz
--exclude='.git' \ ssh -i ~/.ssh/deploy_key ubuntu@${{ secrets.OCI_HOST }} '
--exclude='.gitea' \ rm -rf /home/ubuntu/oci-deal-accelerator-oracle/oci-deal-accelerator/*
./ ubuntu@${{ secrets.OCI_HOST }}:/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 - name: Restart containers
run: | run: |