Skip to content

Commit

Permalink
CD 파일전송테스트 (#20)
Browse files Browse the repository at this point in the history
* edit : Deploy 과정 수정

* edit : Deploy 과정 수정
- SCP테스트
   - Github Action에서 Proxy로 전송이 되는지 테스트
  • Loading branch information
bongsh0112 committed Sep 16, 2023
1 parent a456040 commit 4556df9
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 4556df9

Please sign in to comment.