Update deploy-api.yml

This commit is contained in:
Vivek Teega 2023-12-16 15:02:01 +05:30 committed by GitHub
parent dd197cdf24
commit b485ad1fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,16 @@
name: Pull changes and deploy API
on: [push]
jobs:
build:
name: Pull changes and deploy API
name: Build
runs-on: self-hosted
steps:
- name: multiple command
- name: Executing remote command
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
whoami
ls -al
script: whoami