Update deploy-api.yml

This commit is contained in:
Vivek Teega 2023-12-16 14:57:18 +05:30 committed by GitHub
parent 3ba48f51f5
commit 423693b73f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,16 @@
name: Pull changes and deploy API
on: [push]
jobs:
build:
name: Build
runs-on: self-hosted
steps:
- uses: actions/checkout@v1
- name: Executing remote command
uses: appleboy/ssh-action@master
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