Skip to content

Merge pull request #469 from rajnishdargan/release-1.1.0 #10

Merge pull request #469 from rajnishdargan/release-1.1.0

Merge pull request #469 from rajnishdargan/release-1.1.0 #10

name: Deployment on the Tekdi DEV Server
on:
push:
branches:
- release-1.1.0
jobs:
TEKDI-QA-DEPLOYMENT:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Deploy Stack
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_NAME_DEV }}
username: ${{ secrets.USERNAME_DEV }}
key: ${{ secrets.EC2_SSH_KEY_DEV }}
port: ${{ secrets.PORT_DEV }}
script: |
cd ${{ secrets.TARGET_DIR_DEV }}
if [ -f .env ]; then
rm .env
fi
echo "${{ secrets.DEV_ENV }}" > .env
ls -ltra
./deploy.sh