Skip to content

Create PRATHAM-PROD-DEPLOYMENT.yaml #1

Create PRATHAM-PROD-DEPLOYMENT.yaml

Create PRATHAM-PROD-DEPLOYMENT.yaml #1

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