Skip to content

Commit

Permalink
fix: appleboy/scp-action to copy multiple files
Browse files Browse the repository at this point in the history
YAP-45
  • Loading branch information
민병욱 Developer Platform Engineering(YA) committed Jan 4, 2025
1 parent fe999da commit f2e93d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/dev-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,8 @@ jobs:
username: ${{ secrets.DEV_SERVER_USERNAME }}
key: ${{ secrets.DEV_SSH_KEY }}
port: ${{ secrets.DEV_SSH_PORT }}
source: 'docker/docker-compose.yml'
target: 'compose'
rm: true

- name: Copy docker-install script file
uses: appleboy/scp-action@master
with:
host: ${{ secrets.DEV_SERVER_IP }}
username: ${{ secrets.DEV_SERVER_USERNAME }}
key: ${{ secrets.DEV_SSH_KEY }}
port: ${{ secrets.DEV_SSH_PORT }}
source: 'deploy/scripts/docker-install.sh'
source: |
'docker/docker-compose.yml,deploy/scripts/docker-install.sh'
target: 'compose'
rm: true

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ spring:

spring:
profiles:
active: local
active: local

0 comments on commit f2e93d3

Please sign in to comment.