Skip to content

Commit

Permalink
Merge pull request #328 from wafflestudio/ci/fix-exp-port
Browse files Browse the repository at this point in the history
CI: dev ssh 포트 추가
  • Loading branch information
huGgW authored Nov 17, 2024
2 parents 76dd5c6 + 2acbd19 commit 709d7fb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/database_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
with:
host: ${{secrets.SSH_HOST_DEV}}
username: ${{secrets.SSH_USER}}
port: ${{secrets.SSH_PORT_DEV}}
key: ${{secrets.SSH_KEY}}
script: |
cd ~/database
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/deploy_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,22 @@ jobs:
# echo "SLACK_TOKEN=${{secrets.SLACK_TOKEN}}" >> .env
# echo "SLACK_CHANNEL=${{secrets.SLACK_CHANNEL}}" >> .env
# - name: SCP Command to Transfer Files
# uses: appleboy/scp-action@v0.1.7
# with:
# host: ${{secrets.SSH_HOST_DEV}}
# username: ${{secrets.SSH_USER}}
# key: ${{secrets.SSH_KEY}}
# source: "docker-compose-backend.yml, .env"
# target: "~/app"
# overwrite: true
- name: SCP Command to Transfer Files
uses: appleboy/scp-action@v0.1.7
with:
host: ${{secrets.SSH_HOST_DEV}}
username: ${{secrets.SSH_USER}}
key: ${{secrets.SSH_KEY}}
source: "docker-compose-backend.yml, .env"
target: "~/app"
overwrite: true

- name: SSH Remote Commands
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{secrets.SSH_HOST_DEV}}
username: ${{secrets.SSH_USER}}
port: ${{secrets.SSH_PORT_DEV}}
key: ${{secrets.SSH_KEY}}
script: |
cd ~/app
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/proxy_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
with:
host: ${{secrets.SSH_HOST_DEV}}
username: ${{secrets.SSH_USER}}
port: ${{secrets.SSH_PORT_DEV}}
key: ${{secrets.SSH_KEY}}
script: |
cd ~/proxy
Expand Down

0 comments on commit 709d7fb

Please sign in to comment.