diff --git a/.github/workflows/dev-pratham-deployment.yaml b/.github/workflows/dev-pratham-deployment.yaml deleted file mode 100644 index e7495da..0000000 --- a/.github/workflows/dev-pratham-deployment.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: Deployment on the Pratham-dev Frontend Server -on: - push: - branches: - - main -jobs: - PRATHAM-DEV-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 diff --git a/.github/workflows/prod-pratham-deployment.yaml b/.github/workflows/prod-pratham-deployment.yaml deleted file mode 100644 index 2e6da92..0000000 --- a/.github/workflows/prod-pratham-deployment.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: Deployment on the Pratham-PROD Frontend Server -on: - push: - branches: - - main -jobs: - PROD-PRAHAM-DEPLOYMENT: - runs-on: ubuntu-latest - timeout-minutes: 15 - steps: - - name: Deploy Stack - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.HOST_NAME_PROD }} - username: ${{ secrets.USERNAME_PROD }} - key: ${{ secrets.EC2_SSH_KEY_PROD }} - port: ${{ secrets.PORT_PROD }} - script: | - cd ${{ secrets.TARGET_DIR_PROD }} - if [ -f .env ]; then - rm .env - fi - echo "${{ secrets.PROD_ENV }}" > .env - ls -ltra - ./deploy.sh diff --git a/.github/workflows/tekdi-server-deployment.yaml b/.github/workflows/tekdi-server-deployment.yaml deleted file mode 100644 index 56be1b7..0000000 --- a/.github/workflows/tekdi-server-deployment.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: Deployment on the Tekdi Frontend Server -on: - push: - branches: - - main -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_TEKDI }} - username: ${{ secrets.USERNAME_TEKDI }} - key: ${{ secrets.EC2_SSH_KEY_TEKDI }} - port: ${{ secrets.PORT_TEKDI }} - script: | - cd ${{ secrets.TARGET_DIR_TEKDI }} - if [ -f .env ]; then - rm .env - fi - echo "${{ secrets.QA_ENV }}" > .env - ls -ltra - ./deploy.sh