fix: ssl 폴더 삭제 후 단순화
- ssl 폴더가 없으므로 ~/robeing-nginx/* 로 내부 파일만 삭제 - README.md에서 ssl 폴더 보존 설명 제거 - 더 간단하고 안전한 배포 방식 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
2d681632c1
commit
9386939191
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
PORT: ${{ secrets.NAS_PORT }}
|
||||
USER: ${{ secrets.NAS_USER }}
|
||||
run: |
|
||||
ssh -o StrictHostKeyChecking=no -p $PORT $USER@$HOST "mkdir -p ~/robeing-nginx && find ~/robeing-nginx -maxdepth 1 -not -name ssl -not -name '.' -exec rm -rf {} + || true"
|
||||
ssh -o StrictHostKeyChecking=no -p $PORT $USER@$HOST "rm -rf ~/robeing-nginx/* || true; mkdir -p ~/robeing-nginx"
|
||||
tar --exclude='.git' -czf - . | ssh -o StrictHostKeyChecking=no -p $PORT $USER@$HOST "cd ~/robeing-nginx && tar -xzf -"
|
||||
|
||||
- name: Start services via SSH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user