|
|
|
@ -6,8 +6,7 @@ jobs:
|
|
|
|
|
name: Build
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
- name: executing remote ssh commands
|
|
|
|
|
- name: executing remote ssh commands using password
|
|
|
|
|
uses: appleboy/ssh-action@master
|
|
|
|
|
with:
|
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|
@ -15,3 +14,12 @@ jobs:
|
|
|
|
|
password: ${{ secrets.PASSWORD }}
|
|
|
|
|
port: ${{ secrets.PORT }}
|
|
|
|
|
script: whoami
|
|
|
|
|
|
|
|
|
|
- name: executing remote ssh commands using ssh key
|
|
|
|
|
uses: appleboy/ssh-action@master
|
|
|
|
|
with:
|
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|
|
username: ${{ secrets.USERNAME }}
|
|
|
|
|
key: ${{ secrets.KEY }}
|
|
|
|
|
port: ${{ secrets.PORT }}
|
|
|
|
|
script: whoami
|
|
|
|
|