Skip to content

Update and rename tekdi-qa-deployment.yaml to pratham-qa-deployment.yaml #266

Update and rename tekdi-qa-deployment.yaml to pratham-qa-deployment.yaml

Update and rename tekdi-qa-deployment.yaml to pratham-qa-deployment.yaml #266

name: Deploy to PRAHTAM-DEV on Tekdi
on:
push:
branches:
- release-1.0.0
jobs:
deploy_DEV:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Deploy Stack
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEV_HOST_NAME }}
username: ${{ secrets.DEV_USERNAME }}
key: ${{ secrets.DEV_EC2_SSH_KEY }}
port: ${{ secrets.DEV_PORT }}
script: |
cd ${{ secrets.DEV_TARGET_DIR }}
if [ -f .env ]; then
rm .env
fi
echo "${{ secrets.DEV_ENV }}" > .env
ls -ltra
./deploy.sh