Skip to content

Commit

Permalink
Create saas.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadharke authored Sep 30, 2024
1 parent 3baa8f9 commit 6b3654b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/saas.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6b3654b

Please sign in to comment.