Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XyL1GaN4eG committed Jul 23, 2024
1 parent cbe0bb3 commit 51887de
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Deploy source code userService to Server
- name: Deploy userService to Server
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: './userService/src/' # Убедитесь, что путь к директории корректен
target: '/home/xyl1gan4eg/myJavaProjects/weatherProject/src/userService/' # Целевой путь на сервере
source: 'userService/' # Копируем всю директорию userService
target: '/home/xyl1gan4eg/myJavaProjects/weatherProject/userService/' # Целевой путь на сервере
port: 22
timeout: 30s
command_timeout: 10m
Expand All @@ -123,6 +123,7 @@ jobs:
tar_exec: tar



- name: SSH into server and build userService
uses: appleboy/[email protected]
with:
Expand Down

0 comments on commit 51887de

Please sign in to comment.