Skip to content

Workflow file for this run

name: Remote SSH push:

Check failure on line 1 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: [push]
branches: [master]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.IP }}
username: ${{ secrets.USER }}
password: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
script: |
echo "hello from action " `date` >> ~/x
${{ secrets.SCRIPT}}