Skip to content

Commit

Permalink
feat: cd SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
ramamimu committed Feb 16, 2024
1 parent 16d047a commit a9c31e9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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

0 comments on commit a9c31e9

Please sign in to comment.