Skip to content

Commit

Permalink
modify: test action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MinchoGreenT committed Aug 14, 2023
1 parent 8ba9c51 commit ba2a5bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: SCP transfer
run: scp *.jar ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }}:~/cicd
run: |
ssh-keygen -R ${{ secrets.SERVER_IP }}
scp *.jar ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }}:~/cicd
- name: Execute remote commands
run: |
ssh ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }} "sudo fuser -k 8080/tcp"
Expand Down

0 comments on commit ba2a5bf

Please sign in to comment.