Update GH actions
This commit is contained in:
parent
34e4f5a1b8
commit
4ff99c82ff
1 changed files with 6 additions and 4 deletions
10
.github/workflows/maven.yml
vendored
10
.github/workflows/maven.yml
vendored
|
|
@ -30,16 +30,18 @@ jobs:
|
|||
uses: garygrossgarten/github-action-scp@release
|
||||
with:
|
||||
local: ./target/Hadder-Build.jar
|
||||
remote: /home/Hadder-Build.jar
|
||||
remote: /root/bots/Hadder/Hadder-Build.jar
|
||||
host: ${{ secrets.HOST }}
|
||||
privateKey: ${{ secrets.PK }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
- name: executing remote ssh commands using password
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
key: ${{ secrets.PK }}
|
||||
script: /home/deploy.sh
|
||||
script: /root/bots/Hadder/deploy.sh
|
||||
- name: Send Webhook Notification
|
||||
if: always()
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue