Skip to content

Commit

Permalink
Create manual-ssh.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
geleeroyale authored Aug 7, 2024
1 parent d37d90d commit 27a29a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/manual-ssh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: auto-deploy-main
on:
push:
branches:
- main
workflow_dispatch:

jobs:
deploy:
- 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 }}

0 comments on commit 27a29a3

Please sign in to comment.