Skip to content

Update manual-ssh.yml #2

Update manual-ssh.yml

Update manual-ssh.yml #2

Workflow file for this run

name: auto-deploy-main
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: SSH and Redeploy
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATEKEY }}
REMOTE_HOST: ${{ secrets.HOST }}
REMOTE_USER: ${{ secrets.USER }}
TARGET: "/path/to/your/directory"
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATEKEY }}