Skip to content

Merge pull request #304 from Rushikesh-Sonawane99/shiksha-2.0 #289

Merge pull request #304 from Rushikesh-Sonawane99/shiksha-2.0

Merge pull request #304 from Rushikesh-Sonawane99/shiksha-2.0 #289

name: Deploy to dev-scp on Tekdi
on:
push:
branches:
- shiksha-2.0
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Deploy Stack
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_NAME_PRATHAM_TEKDI }}
username: ${{ secrets.USERNAME_PRATHAM_TEKDI }}
key: ${{ secrets.EC2_SSH_KEY_PRATHAM_TEKDI }}
port: ${{ secrets.PORT_PRATHAM_TEKDI }}
script: |
cd ${{ secrets.TARGET_DIR_PRATHAM_TEKDI }}
./deploy.sh