push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout do Repositorio
uses: actions/checkout@v1
- name: Deploy para o host
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: "-rltgoDzvO --delete"
SOURCE: ""
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
REMOTE_PORT: ${{ secrets.REMOTE_PORT }}
TARGET: ${{ secrets.REMOTE_TARGET }}
Apaguei somente o name para não vazar os dados do cliente