This commit is contained in:
Vivek Teega 2023-12-09 13:58:29 +05:30
parent b2601f09f3
commit 2f428a70b2

View File

@ -1,20 +1,15 @@
name: Pull changes and deploy API
on: [push]
jobs:
build:
name: Pull changes and deploy API
runs-on: self-hosted
steps:
- uses: actions/checkout@v1
- name: Executing remote command
uses: appleboy/ssh-action@master
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSHKEY }}
script: ls
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami