Skip to content

Commit

Permalink
change env var for cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Aug 22, 2024
1 parent 0c1a35b commit 340a798
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: excuting remote ssh commands
uses: appleboy/ssh-action@v0.1.6 # ssh 접속하는 오픈소스
with:
host: ${{ secrets.REMOTE_IP }} # 인스턴스 IP
username: ${{ secrets.REMOTE_USER }} # 우분투 아이디
key: ${{ secrets.REMOTE_PRIVATE_KEY }} # ec2 instance pem key
port: ${{ secrets.REMOTE_SSH_PORT }} # 접속포트
host: ${{ secrets.REMOTE_IP_DEV }} # 인스턴스 IP
username: ${{ secrets.REMOTE_USER_DEV }} # 우분투 아이디
key: ${{ secrets.REMOTE_PRIVATE_KEY_DEV }} # ec2 instance pem key
port: ${{ secrets.REMOTE_SSH_PORT_DEV }} # 접속포트
script: | # 실행할 스크립트
cd /otlplus-nest-server
git pull origin dev
Expand Down

0 comments on commit 340a798

Please sign in to comment.