Fix rsync permission denied by specifying admin user

- Explicitly specify admin@HOST in rsync command
- Ensure proper user authentication for file transfer
- Fixes Permission denied error during rsync step

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
happybell80 2025-07-07 23:08:23 +09:00
parent f553408cc4
commit f90cbe3e86

View File

@ -34,7 +34,7 @@ jobs:
- name: Rsync to NAS - name: Rsync to NAS
run: | run: |
rsync -avz -e "ssh -p ${{ secrets.NAS_PORT }}" ./ \ rsync -avz -e "ssh -p ${{ secrets.NAS_PORT }}" ./ \
${{ secrets.NAS_USER }}@${{ secrets.NAS_HOST }}:/volume1/homes/admin/nginx-infra/ admin@${{ secrets.NAS_HOST }}:/volume1/homes/admin/nginx-infra/
- name: Remote docker-compose up - name: Remote docker-compose up
run: | run: |