My host requires the use of both password and ssh-key to connect, but this action does not allow it returning the following: 20***/08/16 19:04:14 can't set password and key at the same time
Its used as follows:
name: Migration
on:
push:
branches:
- master
jobs:
ssh-migration:
needs: phpunit
runs-on: ubuntu-latest
steps:
- uses: appleboy/ssh-action@v0.1.4
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASS }}
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
script: |
cd ${{ secrets.SSH_BASE_PATH }}/laravel
php artisan migrate
My host requires the use of both password and ssh-key to connect, but this action does not allow it returning the following:
20***/08/16 19:04:14 can't set password and key at the same timeIts used as follows: