Skip to content

Commit

Permalink
Create PRATHAM-PROD-DEPLOYMENT.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhilashKD authored Jun 12, 2024
1 parent 1167960 commit 788c710
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/PRATHAM-PROD-DEPLOYMENT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PROD-Deployment on Prahtam-AWS
on:
push:
branches:
- june15-pilot
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Deploy Stack
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_NAME_PRATHAM_AWS_PROD }}
username: ${{ secrets.USERNAME_PRATHAM_AWS }}
key: ${{ secrets.EC2_SSH_KEY_PRATHAM_AWS }}
port: ${{ secrets.PORT_PRATHAM_AWS }}
script: |
cd ${{ secrets.TARGET_DIR_PRATHAM_AWS_PROD }}
./deploy.sh

0 comments on commit 788c710

Please sign in to comment.