Skip to content

Commit

Permalink
chore(cd): cd 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobhboy committed Apr 18, 2024
1 parent e17b6d4 commit 2ee540e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,21 @@ jobs:
- 'logging-server/**'
- name: deploy main-server
if: steps.changes.outputs.main == 'true'
uses: appleboy/ssh-action@master
# if: steps.changes.outputs.main == 'true'
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSPHRASE }}
port: ${{ secrets.SERVER_SSH_PORT }}
script: |
sh ~/script/deploy-main-server.sh
script: sh ~/script/deploy-main-server.sh

- name: deploy logging-server
if: steps.changes.outputs.logging == 'true'
uses: appleboy/ssh-action@master
# if: steps.changes.outputs.logging == 'true'
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSPHRASE }}
port: ${{ secrets.SERVER_SSH_PORT }}
script: |
sh ~/script/deploy-logging-server.sh
script: sh ~/script/deploy-logging-server.sh

0 comments on commit 2ee540e

Please sign in to comment.