Skip to content

Commit

Permalink
Create pratham-dev-deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhilashKD authored May 31, 2024
1 parent 50f670c commit 1ffff7f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pratham-dev-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Event-Management-Service Deployment on Pratham-dev in OU

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Deploy to Remote Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_NAME_DEV }}
username: ${{ secrets.USERNAME_DEV }}
key: ${{ secrets.SSH_KEY_DEV }}
port: ${{ secrets.PORT_DEV }}
script: |
cd ${{ secrets.TARGET_DIR_DEV }}
./deploy.sh

0 comments on commit 1ffff7f

Please sign in to comment.