fix: SSH TTY 옵션 추가로 sudo 문제 해결
This commit is contained in:
parent
d82e8419af
commit
9aa89081ed
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
PORT: ${{ secrets.NAS_PORT }}
|
||||
USER: ${{ secrets.NAS_USER }}
|
||||
run: |
|
||||
ssh -o StrictHostKeyChecking=no -p $PORT $USER@$HOST << 'EOF'
|
||||
ssh -o StrictHostKeyChecking=no -o RequestTTY=no -p $PORT $USER@$HOST << 'EOF'
|
||||
cd ~/robeing-nginx
|
||||
sudo /bin/cp server-nginx-default /etc/nginx/sites-available/default
|
||||
sudo /usr/sbin/nginx -t
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user