Skip to content

Commit

Permalink
ci(.github): AWS EC2 환경에 맞도록 SSH 접속 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hepheir committed Sep 25, 2024
1 parent 097cfb9 commit 57e3b46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
with:
host: ${{ secrets.SSH_HOSTNAME }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
key: ${{ secrets.SSH_KEY }}
# 서버 쉘 프로파일에 자동으로 아래의 환경에서 시작되도록 설정했음을 전제로 함.
# /app 경로에서, 가상환경 상태로 시작
script: tools/update
script: |
sudo su
tools/update

0 comments on commit 57e3b46

Please sign in to comment.