Skip to content

Test ssh action

Test ssh action #1

Workflow file for this run

- name: executing remote ssh commands using password

Check failure on line 2 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: "37.128.204.193"
username: "root"
password: ${{ secrets.SRV_PWD }}
script: whoami