Skip to content

Commit 09589fb

Browse files
Update maven.yml
1 parent bf2ad6c commit 09589fb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/maven.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,13 @@ jobs:
5555
port: 22
5656
source: '*.jar'
5757
target: /tmp/
58+
- name: executing remote ssh commands using password
59+
uses: appleboy/[email protected]
60+
with:
61+
host: ${{ secrets.HOST }}
62+
username: ${{ secrets.USERNAME }}
63+
password: ${{ secrets.PASS }}
64+
port: 22
65+
script: |
66+
sudo cp /tmp/*.jar /opt/
67+
sudo ls -lart /opt

0 commit comments

Comments
 (0)