Skip to content

Commit

Permalink
edit : Deploy 과정 수정
Browse files Browse the repository at this point in the history
- SCP테스트
   - Github Action에서 Proxy로 전송이 되는지 테스트
  • Loading branch information
bongsh0112 committed Sep 16, 2023
1 parent fa603dd commit 03ed06d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,18 @@ jobs:
- name: Transfer BuildFile Git Actions To ApplicationServer
uses: appleboy/scp-action@master
with:
proxy_host: ${{ secrets.NCP_PROXY_HOST }}
proxy_username: root
proxy_key: ${{ secrets.NCP_PEM }}
proxy_port: 2222
host: ${{ secrets.NCP_APP_HOST }}
# proxy_host: ${{ secrets.NCP_PROXY_HOST }}
# proxy_username: root
# proxy_key: ${{ secrets.NCP_PEM }}
# proxy_port: 2222
# host: ${{ secrets.NCP_APP_HOST }}
# username: root
# key: ${{ secrets.NCP_PEM }}
# port: 22
host: ${{ secrets.NCP_PROXY_HOST }}
username: root
key: ${{ secrets.NCP_PEM }}
port: 22
port: 2222
source: ./Api/build/libs/app.jar
target: /var/app

Expand Down

0 comments on commit 03ed06d

Please sign in to comment.