Skip to content

feat: cd SSH

feat: cd SSH #3

Workflow file for this run

name: Continue Deployment
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
deploy:
name: SSH using key
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PK_VM }}
port: ${{ secrets.SSH_PORT }}
script: whoami