From 1454cf1358949b1b0798dc3df01c17dd3f0d8cbc Mon Sep 17 00:00:00 2001 From: Ishan-ttpl Date: Mon, 23 Dec 2024 18:09:37 +0530 Subject: [PATCH] Update dev-saas-1.2.yml --- .github/workflows/dev-saas-1.2.yml | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dev-saas-1.2.yml b/.github/workflows/dev-saas-1.2.yml index 77dff2a..34dde4b 100644 --- a/.github/workflows/dev-saas-1.2.yml +++ b/.github/workflows/dev-saas-1.2.yml @@ -4,24 +4,24 @@ on: push: branches: - dev-saas-1.2 + jobs: - deploy: + deploy: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v2 + - name: Checkout Code + uses: actions/checkout@v2 + with: + fetch-depth: 0 # Disable shallow clones for better analysis + + - name: Deploy Stack + uses: appleboy/ssh-action@master with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - - name: Deploy Stack - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.SAAS_HOST_DEV }} - username: ${{ secrets.SAAS_USERNAME_DEV }} - key: ${{ secrets.SAAS_SSH_PRIVATE_KEY_DEV }} - port: ${{ secrets.PORT_DEV }} - script: | - - cd /home/ubuntu/all-orchestration-service - ./deploy.sh - + host: ${{ secrets.SAAS_HOST_DEV }} + username: ${{ secrets.SAAS_USERNAME_DEV }} + key: ${{ secrets.SAAS_SSH_PRIVATE_KEY_DEV }} + port: ${{ secrets.PORT_DEV }} + script: | + cd /home/ubuntu/all-orchestration-service + ./deploy.sh