From 6b3654b47617b177827e0eed06636dbe728d518a Mon Sep 17 00:00:00 2001 From: prasadharke Date: Mon, 30 Sep 2024 17:12:53 +0530 Subject: [PATCH] Create saas.yml --- .github/workflows/saas.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/saas.yml diff --git a/.github/workflows/saas.yml b/.github/workflows/saas.yml new file mode 100644 index 0000000..48a2253 --- /dev/null +++ b/.github/workflows/saas.yml @@ -0,0 +1,27 @@ +name: SAAS Deployment + +on: + push: + branches: + - all-1.1-staging +jobs: + deploy: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v2 + 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 }} + username: ${{ secrets.SAAS_USERNAME }} + key: ${{ secrets.SAAS_SSH_PRIVATE_KEY }} + port: ${{ secrets.PORT }} + script: | + + cd /home/ubuntu/all-services/all-orchestration-service + ./deploy.sh +