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 name: Pull changes and deploy API
on: [push] on: [push]
jobs: jobs:
build: build:
name: Build
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- uses: actions/checkout@v1
- name: Executing remote command - name: Executing remote command
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@v1.0.0
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }} password: ${{ secrets.PASSWORD }}
KEY: ${{ secrets.SSHKEY }} port: ${{ secrets.PORT }}
script: ls script: whoami