Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sbx0 authored Sep 26, 2023
1 parent f076ccd commit fb62263
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
local_path: './todo-service/build/libs/todo-service-*-SNAPSHOT.jar'
remote_path: '/home/ubuntu/todo/todo-service'
args: '-o ConnectTimeout=5'
- name: build and run service
- name: Build and Run Service
if: github.ref == 'refs/heads/main'
uses: appleboy/[email protected]
with:
host: '${{ secrets.SERVER }}'
Expand Down

0 comments on commit fb62263

Please sign in to comment.