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