Skip to content

Commit

Permalink
Update deploy-api.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekteega authored Dec 16, 2023
1 parent 3ba48f5 commit 423693b
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
name: Pull changes and deploy API

on: [push]

jobs:
build:

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

0 comments on commit 423693b

Please sign in to comment.